{"$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":"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":"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":"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":"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":"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"ContextCompactor.compact (cyclomatic 61): ContextCompactor.compact has cyclomatic complexity 61 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compactor.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b04cb44f0a2b613354bf1cbce3074b002d5e693b330647499ff7351dc13c61"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-onboarding.provideHandoff (cyclomatic 56): agent-onboarding.provideHandoff has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e35f6913eb124363d2854ec32e5071a5a50db081be8a9118be6cdb2d4ef717a"}},{"ruleId":"D1","level":"warning","message":{"text":"continuity-resilience-report.formatReport (cyclomatic 53): continuity-resilience-report.formatReport has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6245de11e83b1119fc03bed6f998e7e1a4cbd9d4a7e73be1414764527216d753"}},{"ruleId":"D1","level":"warning","message":{"text":"doc-analyzer.analyzeChange (cyclomatic 42): doc-analyzer.analyzeChange has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"27df0f91ca2f1447bca9fa13f7c2c652125cfc2a03874204b8d5c8d31cada65f"}},{"ruleId":"D1","level":"warning","message":{"text":"RecallQualityAuditReportBuilder.collectMetrics (cyclomatic 37): RecallQualityAuditReportBuilder.collectMetrics has cyclomatic complexity 37 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fe7c1105e95a8fc773dd82c4b332c3f169488578c7b1b9fabdcd2177594379"}},{"ruleId":"D1","level":"warning","message":{"text":"BeliefKnowledgeConsolidator.consolidate (cyclomatic 35): BeliefKnowledgeConsolidator.consolidate has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ef8f6b88aa5c1f954be568368e74923e469a3f1bcc037539ef6805695da90e"}},{"ruleId":"D1","level":"warning","message":{"text":"continuity-resilience-report.collectRecallHealth (cyclomatic 35): continuity-resilience-report.collectRecallHealth has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0234e2796de9cb119511589f0bc10e325c3dd6181c2d10d989ab2d1a8ce3f88c"}},{"ruleId":"D1","level":"warning","message":{"text":"context-compiler.classifyPart (cyclomatic 31): context-compiler.classifyPart has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"47666cf586ae6f9200049ab8dba14577ba86f0e21af2433ece6c2c77f3068649"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryManager.saveMemory (cyclomatic 30): MemoryManager.saveMemory has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f78cfb511644b33783f6e72c7a3673ac14238c767c0a9a0b828b839dcb2a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-bridge-extra-ops.invokeCodexBridgeExtra (cyclomatic 30): codex-bridge-extra-ops.invokeCodexBridgeExtra has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-extra-ops.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe923283b52db56474af4b0f9ef5537d7349d0e163102353dc37e14bf0404512"}},{"ruleId":"D1","level":"warning","message":{"text":"internal-state-deriver.deriveInternalState (cyclomatic 27): internal-state-deriver.deriveInternalState has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/internal-state-deriver.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fea68f01424936d4f6a2e77e7d096517b73564933d724464f6d4b10c3b210b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-execute.recordExperiencePacket (cyclomatic 27): tool-execute.recordExperiencePacket has cyclomatic complexity 27 (threshold 15). Of this number, 26 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":"src/hooks/tool-execute.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc929bb602719ad35dcfe524507ee9a2911a601f43667049d460bc7364523f51"}},{"ruleId":"D1","level":"warning","message":{"text":"continuity-resilience-report.collectSystemHealthAdvisories (cyclomatic 26): continuity-resilience-report.collectSystemHealthAdvisories has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"0810ac5bbead3ea786623eada4eb24a5226134c6f867a988ae6f58faccdcd082"}},{"ruleId":"D1","level":"warning","message":{"text":"native-mcp-server.runNativeMcpServer (cyclomatic 25): native-mcp-server.runNativeMcpServer has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 6 function items inside it that branch (handle, handleLine, cleanup, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/native-mcp-server.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b244a77c8d85a85e43da70f5760553547a26b06f92aab9ea446ed5141d2763f"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryManager.searchMemories (cyclomatic 24): MemoryManager.searchMemories has cyclomatic complexity 24 (threshold 15). 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: 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":"src/memory-manager-base.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dcdb24ae888c44d85317314ef67b4085473dff292add479db0a33796c81aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryManager.listMemories (cyclomatic 24): MemoryManager.listMemories has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"201d2a9ddcb9312bbe8fabc968883b59826c24904a8bb05626e8c75347d65ff9"}},{"ruleId":"D1","level":"warning","message":{"text":"auto-docs.flushDocUpdates (cyclomatic 24): auto-docs.flushDocUpdates has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/auto-docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12ea85d4993f5ec02445a40e82786373adfc9155fa44ba8466f3738cdf7202a"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-transform.createMessagesTransformHook.\u003Creturned closure\u003E (cyclomatic 23): messages-transform.createMessagesTransformHook.\u003Creturned closure\u003E has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to one function literal inside it that branches (line 40). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/messages-transform.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b396c6ae2ee53467187332e1feab8fbcc5c7d6344c0b4c96642ffa4c08078b"}},{"ruleId":"D1","level":"warning","message":{"text":"compaction-telemetry-audit.runAuditLogic (cyclomatic 22): compaction-telemetry-audit.runAuditLogic has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b87233af4900e13f2bc03ce1b4b7e9461fe853fc5bee71e9c73bb89016dff5"}},{"ruleId":"D1","level":"warning","message":{"text":"compaction-telemetry-audit.formatAuditReportInner (cyclomatic 22): compaction-telemetry-audit.formatAuditReportInner has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d74690ce7197792c272a78974fe623cd6a0370c794fc5c7c64fc5f9233e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"concept-extractor.extractConcepts (cyclomatic 21): concept-extractor.extractConcepts has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/concept-extractor.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"98129028820e20dd1c7967f13c9c75bf09ef2a50022c79d912839a8c7f11b027"}},{"ruleId":"D1","level":"warning","message":{"text":"experience-packet.summarizeArgs (cyclomatic 21): experience-packet.summarizeArgs has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/experience-packet.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"defe4ea1b011585aaad0d5cea6c7c72c1815ec0b41a7e6c1051d7fc8743c3659"}},{"ruleId":"D1","level":"warning","message":{"text":"doc-analyzer.reconcileSystemMap (cyclomatic 21): doc-analyzer.reconcileSystemMap has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"61685f08b12bcf0b53dec501c95f6fe82c1d98b3a9de49f6a34f7c11fea25851"}},{"ruleId":"D1","level":"warning","message":{"text":"continuity-resilience-report.collectLivingState (cyclomatic 21): continuity-resilience-report.collectLivingState has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8683af4d5da45afff3b74a8808a9b26f8e1b99412fac6e8d554fe554d0eceec1"}},{"ruleId":"D1","level":"warning","message":{"text":"context-governor-optimizer.optimizeGovernorContext (cyclomatic 20): context-governor-optimizer.optimizeGovernorContext has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-governor-optimizer.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"60757e5e2cb06c54e1ba1e7b450e7da7674deac173963eb32a1101f06391b700"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryExtractor.analyzeTurnForMemories (cyclomatic 19): MemoryExtractor.analyzeTurnForMemories has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-extractor.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0558b8a25019b82be67b7a8aecb7dffbadcc99430e7c07736c1d4d7f081f30"}},{"ruleId":"D1","level":"warning","message":{"text":"CausalThreadHydrator.hydrateCausalThread (cyclomatic 19): CausalThreadHydrator.hydrateCausalThread has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 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":"src/self-continuity-causal-thread.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0518dd885939c74868fb3d9c7de8bc7a601c191f704af0db197a1ecbcda255c5"}},{"ruleId":"D1","level":"warning","message":{"text":"context-compiler.scoreCriticality (cyclomatic 18): context-compiler.scoreCriticality has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c567cd2a3578669e28e7c229fb0abe1d48176febe611e6aa95bf32247eca89"}},{"ruleId":"D1","level":"warning","message":{"text":"BeliefPromotionScanner.extractPattern (cyclomatic 18): BeliefPromotionScanner.extractPattern has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-promotion-scanner.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b73674a1a88348ca5d0c8f08c2f3dde5218ae26fb02af1d363a9b2b0b746de"}},{"ruleId":"D1","level":"warning","message":{"text":"recall-quality-tool.scoreMetrics (cyclomatic 17): recall-quality-tool.scoreMetrics has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"744fb45f0880c9ac8da009c3833ebf0cb0b08cb4f403347f7bcc346cf12bfb3e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-mcp-tools.invokeMcpTool (cyclomatic 17): codex-mcp-tools.invokeMcpTool has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-mcp-tools.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d64de674a358041fd2cde7c1590f05fd46b9f4d113895513b5dda81c20c04f"}},{"ruleId":"D1","level":"warning","message":{"text":"context-cache-runtime.extractContent (cyclomatic 17): context-cache-runtime.extractContent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-cache-runtime.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5930c4a1f50341a602b3084ae00e5d6098d3516051b54880da71cfa2764006d7"}},{"ruleId":"D1","level":"warning","message":{"text":"work-journal-types.inferNextStep (cyclomatic 16): work-journal-types.inferNextStep has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/work-journal-types.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3138892cc97c336b6ff4a799082fd272d3f43b95fd8737bd105639626b3a68"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallDistiller.detectFix (cyclomatic 16): ToolCallDistiller.detectFix 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, 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":"src/tool-distiller.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b71bc0507bc50cc1ae4971c348abb025369cb64b9b44f4ba72753fc59fee792"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopSignalDetector.checkNoProgress (cyclomatic 16): LoopSignalDetector.checkNoProgress has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/loop-signal-detector.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"db508176364d78de8c98321574e74a6d82361eb12f9ac0cda587aa1d741204fc"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-onboarding.provideReadiness (cyclomatic 16): agent-onboarding.provideReadiness has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ce5d01cf28f9ffdee745eb10e36f5b7b28dfed617699929c35acf7168693c7"}},{"ruleId":"D1","level":"warning","message":{"text":"doc-analyzer.initializeDocsForProject (cyclomatic 16): doc-analyzer.initializeDocsForProject has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da53a654b4648bcd222af076cba913dd064281f9da72a39b6338913830998c3"}},{"ruleId":"D1","level":"warning","message":{"text":"recall-quality-tool.validateRecallQualityAuditParams (cyclomatic 16): recall-quality-tool.validateRecallQualityAuditParams has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7618ea2bb10f8e251ff756013dbf2c20eb0b7730e720bbb54756665f105fbb4d"}},{"ruleId":"D1","level":"warning","message":{"text":"continuity-resilience-report.collectPipelineStatus (cyclomatic 16): continuity-resilience-report.collectPipelineStatus has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"362956184df1c847863756345faf499a5188d1fed3c62236bd954eddad5385a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextCompactor.compact (cognitive 118): ContextCompactor.compact has cognitive complexity 118 (threshold 15). Drivers by points: if/else 35 (80 pts), boolean chains 14, loops 7 (14 pts), ternaries 4 (10 pts) (nesting depth added 58). Of this number, 114 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compactor.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ae0b6bbda280f9ecf8c6a1b46086720abe67f54b09f516a68500ffaa5ce15"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-onboarding.provideHandoff (cognitive 111): agent-onboarding.provideHandoff has cognitive complexity 111 (threshold 15). Drivers by points: if/else 27 (53 pts), ternaries 10 (23 pts), loops 6 (16 pts), error handling 7 (13 pts), boolean chains 6 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8465de928c42addb05d7ea3cb7e3ae437da97792f052f276c87a1e10d12bb35"}},{"ruleId":"D2","level":"warning","message":{"text":"continuity-resilience-report.formatReport (cognitive 94): continuity-resilience-report.formatReport has cognitive complexity 94 (threshold 15). Drivers by points: if/else 37 (55 pts), ternaries 7 (15 pts), boolean chains 14, loops 5 (10 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea2ae888da339e80f82b9f722fc5124d2165fef43c4e86e1442d75112608cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"BeliefKnowledgeConsolidator.consolidate (cognitive 93): BeliefKnowledgeConsolidator.consolidate has cognitive complexity 93 (threshold 15). Drivers by points: ternaries 10 (42 pts), if/else 13 (29 pts), loops 5 (11 pts), error handling 3 (6 pts), boolean chains 5 (nesting depth added 57). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a35e8ad4ed98dbabf2f5a117b7fcaf7a7dcd84e7e3ba0625dbca87a3f88a75f"}},{"ruleId":"D2","level":"warning","message":{"text":"continuity-resilience-report.collectRecallHealth (cognitive 45): continuity-resilience-report.collectRecallHealth has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 6 (16 pts), boolean chains 13, if/else 5 (8 pts), error handling 4 (7 pts), loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81a5328c56a7d42cd27902de79046adbdf290823c2710f35c2a8c7a2c5fc473"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-transform.createMessagesTransformHook.\u003Creturned closure\u003E (cognitive 44): messages-transform.createMessagesTransformHook.\u003Creturned closure\u003E has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (26 pts), ternaries 4 (10 pts), boolean chains 3, loops 2 (3 pts), error handling 2 (nesting depth added 22). None of this is in the body itself: all 44 points belong to one function literal inside it that branches (line 40). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/messages-transform.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dea6662409777d48ca64d9f91b994bbb860efc5c30611792b70b0d7dccb2fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"context-compiler.classifyPart (cognitive 42): context-compiler.classifyPart has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 7 (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":"src/context-compiler.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7210c23e3e6109013f752612a48658371bb376287d55e92414da6627d9b6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"auto-docs.flushDocUpdates (cognitive 42): auto-docs.flushDocUpdates has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (28 pts), error handling 4 (5 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/auto-docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd2f354be695fb63596a710fcb56be397a6e4cc8ce73babd235e992bed65821"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-execute.recordExperiencePacket (cognitive 42): tool-execute.recordExperiencePacket has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 4 (10 pts), boolean chains 4, error handling 2 (nesting depth added 18). Of this number, 39 points are the body\u0027s own statements and 3 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":"src/hooks/tool-execute.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b04af0fdb42e73c8b680dc555bb819d72135d804f63e0392e4535f3aa3e816"}},{"ruleId":"D2","level":"warning","message":{"text":"context-governor-optimizer.optimizeGovernorContext (cognitive 41): context-governor-optimizer.optimizeGovernorContext has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-governor-optimizer.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcea8a9af1b4bcce06466de7ad5dc91e319d34e4bd87cea147269effd2ccea9"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.saveMemory (cognitive 40): MemoryManager.saveMemory has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 3 (7 pts), error handling 4 (5 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc445db73b8ef9399ec300df50c85ed265633fa77baaeb028539a03b9b4473e9"}},{"ruleId":"D2","level":"warning","message":{"text":"RecallQualityAuditReportBuilder.collectMetrics (cognitive 36): RecallQualityAuditReportBuilder.collectMetrics has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 22, ternaries 13, loops 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2081ca98adf14617c0aacac99f8c42386a5ee62e43869e56636137a6b5a6de0a"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction-telemetry-audit.formatAuditReportInner (cognitive 33): compaction-telemetry-audit.formatAuditReportInner has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 7 (13 pts), ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec2176b589c18def30b3e5f1b35beea09bfc61483633151b31dc76ad15ad6ea"}},{"ruleId":"D2","level":"warning","message":{"text":"doc-analyzer.analyzeChange (cognitive 32): doc-analyzer.analyzeChange has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 10 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a206e3538581bda0bafa30eb45f49a4aa9d5e4cee7e8d8bc178379a50cb3363"}},{"ruleId":"D2","level":"warning","message":{"text":"doc-analyzer.reconcileSystemMap (cognitive 32): doc-analyzer.reconcileSystemMap has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (5 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"91685aa469ddea33002711f04c1cfd8a29298ec8bac7d9fd0909886a47559c93"}},{"ruleId":"D2","level":"warning","message":{"text":"concept-extractor.extractConcepts (cognitive 30): concept-extractor.extractConcepts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 9 (11 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/concept-extractor.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80151b47c7c21b993d9607c466fa7cb094391be00a5c1d9a0f6f34afd3e6fa1"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.listMemories (cognitive 30): MemoryManager.listMemories has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 5 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1309d6846b36280549e1f62c6e1f6a988d74fa228971f7f10afa045124294730"}},{"ruleId":"D2","level":"warning","message":{"text":"SubconsciousWatcher.walkDirectory (cognitive 30): SubconsciousWatcher.walkDirectory has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (23 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/subconscious.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eefcddd59838a896fc0c20240071631caa42618c4502e30bd1c8f8a4188cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"living-state-tool.livingStateDebugTool (cognitive 30): living-state-tool.livingStateDebugTool has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 2 (5 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/living-state-tool.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee9a1c9299ebdb03776f6e9ded07d219ce7e50272f3c2e05a0821b5da3c3d20"}},{"ruleId":"D2","level":"warning","message":{"text":"continuity-resilience-report.collectSystemHealthAdvisories (cognitive 30): continuity-resilience-report.collectSystemHealthAdvisories has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426ebfdb67e9a6d4ab69a605d821a5acb26dbac2f949f063deea3b5e22a833e"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.memoryContextTool (cognitive 30): tools.memoryContextTool has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 9, loops 4 (8 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5864ceb4743c2f0cb6780a6d95b81f14050a2842b79d0b78ac9df07a475214"}},{"ruleId":"D2","level":"warning","message":{"text":"token-bucket-analyzer.analyzeMessages (cognitive 29): token-bucket-analyzer.analyzeMessages has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/token-bucket-analyzer.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"870fc0ca1f4fffaf5de27f314299425feaefe2ebddffb86ca70915710662f761"}},{"ruleId":"D2","level":"warning","message":{"text":"doc-analyzer.initializeDocsForProject (cognitive 29): doc-analyzer.initializeDocsForProject has cognitive complexity 29 (threshold 15). Drivers by points: error handling 8 (11 pts), if/else 2 (7 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca4355c0b08f6377a82e704333a348d2a92e21621ce65b9535cf1cdbbbd63e4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-bridge-extra-ops.invokeCodexBridgeExtra (cognitive 29): codex-bridge-extra-ops.invokeCodexBridgeExtra has cognitive complexity 29 (threshold 15). Drivers by points: if/else 28, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-extra-ops.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d2ef16b9a7c2e2e2e713bc844e075af048f5eb27bc40115e49719f711f201e"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.searchMemories (cognitive 28): MemoryManager.searchMemories has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, error handling 3, loops 3, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99ea00b00bc82f672d65ad2d3a9a6737f6126622a8009ca975b1557b057572a"}},{"ruleId":"D2","level":"warning","message":{"text":"internal-state-deriver.deriveInternalState (cognitive 28): internal-state-deriver.deriveInternalState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 10 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/internal-state-deriver.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"336f3038a743460778b80aa486ca42d8ad7c6bce879b25d147577b20a9020a15"}},{"ruleId":"D2","level":"warning","message":{"text":"continuity-resilience-report.buildExecSummary (cognitive 27): continuity-resilience-report.buildExecSummary has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 2 (11 pts), if/else 7 (10 pts), loops 2 (6 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e647b9b5fa825aeb233e7a59cdaaf23b667de6e79d5a1eefd266f5734721b45"}},{"ruleId":"D2","level":"warning","message":{"text":"self-continuity-narrative-format.formatNarrativeText (cognitive 26): self-continuity-narrative-format.formatNarrativeText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (9 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-continuity-narrative-format.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e453c78a7464f79180c2fd1bfd4b34a2df622e083736ec8ccb67aa58709058"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopSignalDetector.checkNoProgress (cognitive 25): LoopSignalDetector.checkNoProgress has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (5 pts), loops 4, boolean chains 2 (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/loop-signal-detector.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd27ab7e949d96c76f2ce0f1a1343e8b8ae9df253a8842773eff442101c9da91"}},{"ruleId":"D2","level":"warning","message":{"text":"BeliefPromotionScanner.groupPatterns (cognitive 25): BeliefPromotionScanner.groupPatterns has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (8 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-promotion-scanner.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1887fda5301d1232be9b0af9d57a03f9110e6603ffcabfe3ee46d6b1061171"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-onboarding.providePhaseCheckpoint (cognitive 24): agent-onboarding.providePhaseCheckpoint has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (22 pts), ternaries 2 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"895a96a77217c7a49290e2ca563e5822618a83c1b5818af955252d6ff597c613"}},{"ruleId":"D2","level":"warning","message":{"text":"belief-promotion-tool.beliefPromotionTool.execute (cognitive 24): belief-promotion-tool.beliefPromotionTool.execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-promotion-tool.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e84a9c1be9c93296987a243e3c822a2282278551b4058cb3216dec9ea6b6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"living-state-tool.livingStatePreviewTool (cognitive 24): living-state-tool.livingStatePreviewTool has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (7 pts), ternaries 5 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/living-state-tool.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad37facbd17d978123625e998ff701b3d9b0e9457aba73ce8a900a427eaeed8"}},{"ruleId":"D2","level":"warning","message":{"text":"continuity-resilience-report.collectLivingState (cognitive 24): continuity-resilience-report.collectLivingState has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 6, error handling 5, if/else 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"25251730d8dff0670c899080e0d5cbf7c1c332e91af0b65bfa9981e297e45093"}},{"ruleId":"D2","level":"warning","message":{"text":"GitWatcher.getNewCommits (cognitive 23): GitWatcher.getNewCommits has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (3 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/git-watcher.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a5f269f35aaf191807fb0d8c156e3244815486bb96a0ee4a213cc08d15dd10"}},{"ruleId":"D2","level":"warning","message":{"text":"experience-packet.summarizeArgs (cognitive 23): experience-packet.summarizeArgs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8, ternaries 4 (8 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/experience-packet.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"362c85a4dc7153391ab4bd5d9db7d60718d877b0007c595252b8eb676c153291"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-claude-surface.validateGroup (cognitive 23): validate-claude-surface.validateGroup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-claude-surface.mjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7583faf8081a3e630108854f2e2cfe9a2cf4d6f398370cdbaf74b853eb757f67"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-onboarding.provideReadiness (cognitive 23): agent-onboarding.provideReadiness has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"4192d8f89b4c0c4c3ddbb6af76e06ef2c0451e4ed8fcdee2d9687ffed31114a8"}},{"ruleId":"D2","level":"warning","message":{"text":"belief-promotion-tool.beliefPromotionScanTool.execute (cognitive 23): belief-promotion-tool.beliefPromotionScanTool.execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (7 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-promotion-tool.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"80698bf9cba27345e015174c4ae07a0c7dae9ae34f594481ee9ff8568eda8f88"}},{"ruleId":"D2","level":"warning","message":{"text":"EvidenceVault.pruneOldEvidence (cognitive 23): EvidenceVault.pruneOldEvidence has cognitive complexity 23 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 4 (8 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/evidence-vault.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"070c9df846d700ac07bd8c7bf42eb7f9cb10e85747e71b8fb591fc161499997f"}},{"ruleId":"D2","level":"warning","message":{"text":"context-cache-runtime.cacheOldContext (cognitive 23): context-cache-runtime.cacheOldContext has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-cache-runtime.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6297f36c1b03cecc9c7e0e0a74522f8199bfad2ae56ede0c7d7ae6d130f2a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"BeliefPromotionScanner.extractPattern (cognitive 22): BeliefPromotionScanner.extractPattern has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-promotion-scanner.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f32de9b6cce34086596cb3c831ef455f57dc22df6057616d8a2af6b7e78aac"}},{"ruleId":"D2","level":"warning","message":{"text":"context-governor-monitor.measureGovernorMetrics (cognitive 22): context-governor-monitor.measureGovernorMetrics has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-governor-monitor.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9463fb80cf60f1a6e21cac48ef40654557fc9b71794d9000d3a10463811d8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"context-compiler.scoreCriticality (cognitive 21): context-compiler.scoreCriticality has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7890b150391a72f46f7ef8a718e7e2a4d6ea94ff8f78aded0c15c4f4ce854f"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopSignalDetector.check (cognitive 21): LoopSignalDetector.check has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/loop-signal-detector.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceae478b7da74dfa73e20ce6ae255e98030221086c6f0b4c5bf78789474beba"}},{"ruleId":"D2","level":"warning","message":{"text":"GitWatcher.getRecentCommits (cognitive 21): GitWatcher.getRecentCommits has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/git-watcher.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"897026119fd0c2dc6f6738496668d37bc27d1737c17427f61797062ca5a8d512"}},{"ruleId":"D2","level":"warning","message":{"text":"belief-knowledge-store.deriveClaim (cognitive 21): belief-knowledge-store.deriveClaim has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"562da36e29b4bb25c8bcf3c7dd70eae4997537fb06cedc6428a7c5a56c112130"}},{"ruleId":"D2","level":"warning","message":{"text":"CausalThreadHydrator.hydrateCausalThread (cognitive 21): CausalThreadHydrator.hydrateCausalThread has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5 (6 pts), loops 4, boolean chains 1, error handling 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-continuity-causal-thread.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e483f52f6d56c0d8b67aa7a1cb2bf87fd400af57a7b0dec3577a9130dead7541"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallDistiller.buildSummary (cognitive 20): ToolCallDistiller.buildSummary has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tool-distiller.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b62e08f59d828658236f8be349d22ca0ef0ea1d83f2ab27eba9268ad97060f3"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfModelUpdater.classifyPacket (cognitive 20): SelfModelUpdater.classifyPacket has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-model-updater.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f927c390e6031445e263a7142861389941d135f63e4460222a858b9f43c8ea6"}},{"ruleId":"D2","level":"warning","message":{"text":"review-tiny-junk-candidates.classify (cognitive 20): review-tiny-junk-candidates.classify has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/review-tiny-junk-candidates.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c564d0f60475e66bcc01223b1895eb87d05ac442247dcbbe3aaf8167b361ffe0"}},{"ruleId":"D2","level":"warning","message":{"text":"context-cache-runtime.extractContent (cognitive 20): context-cache-runtime.extractContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-cache-runtime.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9b56fa93e60bab04f244daac2f4943eb6bdf78bacd77ac841fe404d35058b8"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-message-sanitizer.normalizeParts (cognitive 20): prompt-message-sanitizer.normalizeParts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/prompt-message-sanitizer.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efec9f8a2b51d6972141e0d7245ebb5076c0033f3d09df7a1f600a384504987"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryExtractor.extractContentFromTurn (cognitive 19): MemoryExtractor.extractContentFromTurn has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-extractor.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0658b8aee84321ff8b948822c8b33830e5b9b385cdbe692fffd9aed81682a47"}},{"ruleId":"D2","level":"warning","message":{"text":"checkpoint-markdown.buildCheckpointMarkdown (cognitive 19): checkpoint-markdown.buildCheckpointMarkdown has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-markdown.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b91314bd8e1f9992f3e036b9f4da8dbaf401991bc42de23a71af33369d7d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-message-sanitizer.normalizePromptMessages (cognitive 19): prompt-message-sanitizer.normalizePromptMessages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/prompt-message-sanitizer.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"88991bb9c18ae4429921348199e9f20d3967ea56acc49300ed797c75ee343f07"}},{"ruleId":"D2","level":"warning","message":{"text":"context-compiler.extractTaskConcepts (cognitive 18): context-compiler.extractTaskConcepts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bfe8247264e606186a0dc0ab269bf8a4132c6223ffca93cde104001ec50912"}},{"ruleId":"D2","level":"warning","message":{"text":"context-compiler.compileContextWithLessons (cognitive 18): context-compiler.compileContextWithLessons has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"21814ea1f011eb8bfd1628bb346b962b571ff401cab56d488561cfef0c4b50d5"}},{"ruleId":"D2","level":"warning","message":{"text":"work-journal-types.inferNextStep (cognitive 18): work-journal-types.inferNextStep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/work-journal-types.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"902c8719c563a1dfc47368fb8abe431461e05e65fff8cf86a6f2e7ec22b5e2ed"}},{"ruleId":"D2","level":"warning","message":{"text":"LivingStateRuntime.runPass (cognitive 18): LivingStateRuntime.runPass has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), error handling 8, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/living-state-runtime.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be3cbfb4a55e3e85307d6c354fd2aa005434cf27ef55447f73106f340b8ec11"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant-text-compactor.compactAssistantText (cognitive 18): assistant-text-compactor.compactAssistantText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/assistant-text-compactor.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8413ce30d4010ccb61649ab336132c865f5e2bf49d28e326c246b20a9e74ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction-telemetry-audit.runAuditLogic (cognitive 18): compaction-telemetry-audit.runAuditLogic has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (9 pts), loops 6, if/else 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe5bfc49afa9df6113159a3dd5f1099b71ebf0db788c5ee7533c90a4d0b0ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"checkpoint-builder.extractKeywordLines (cognitive 17): checkpoint-builder.extractKeywordLines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-builder.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb485ecb3f5987aa9dab4a83735602bae3d6345d150fb7f23de1f46e9401aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"checkpoint-builder.extractCompactedRefs (cognitive 17): checkpoint-builder.extractCompactedRefs has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (7 pts), loops 3 (6 pts), if/else 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-builder.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088dfe128ecf304710fe4f50502f1693a53371fb019382fe4a2e791e822b665"}},{"ruleId":"D2","level":"warning","message":{"text":"review-tiny-junk-candidates.main (cognitive 17): review-tiny-junk-candidates.main has cognitive complexity 17 (threshold 15). Drivers by points: loops 9 (11 pts), boolean chains 4, if/else 2 (nesting depth added 2). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/review-tiny-junk-candidates.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0190c1e3fe5b668d4d4fb3ee92da4a72e3331ae1700403bac0c1b45524ec3b24"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-onboarding.provideProjectContinuity (cognitive 17): agent-onboarding.provideProjectContinuity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1913f4d6e572d6834f9b1abab6280f000109daa839303f0f8f88ba948be23e38"}},{"ruleId":"D2","level":"warning","message":{"text":"recall-quality-tool.scoreMetrics (cognitive 17): recall-quality-tool.scoreMetrics has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 2, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"769432fdf790d6514db50e5950e15c7fee75d0221aaee4ca578b5ee7b19b0eec"}},{"ruleId":"D2","level":"warning","message":{"text":"continuity-resilience-report.collectPipelineStatus (cognitive 17): continuity-resilience-report.collectPipelineStatus has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (5 pts), error handling 4, loops 2 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d84d4d56e69e4890ffd2752acae081a3dcd45b2fc55be9ae29b898992c70a68"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.textSearchFallback (cognitive 16): MemoryManager.textSearchFallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f493977060700f8a408b00c41692f90e5c4412d1c84fcefe10ecf06c0efe01"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallDistiller.detectFix (cognitive 16): ToolCallDistiller.detectFix has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 2). 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, 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":"src/tool-distiller.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39f5cdbe4ffccb5752ff46d176a62b68a1992f6a8747db883f64c93b7e700d8"}},{"ruleId":"D2","level":"warning","message":{"text":"work-ledger-patch-paths.decodeGitQuotedBytes (cognitive 16): work-ledger-patch-paths.decodeGitQuotedBytes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/work-ledger-patch-paths.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37956ae2891b7a7e81890435890094d5104393bd16dfc30d94f9214dcb63f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-onboarding.provideMemories (cognitive 16): agent-onboarding.provideMemories has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (6 pts), if/else 3 (5 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03db976b1b6f473fdd632967615698cd30b42156e263006af24ffbf93ed8980"}},{"ruleId":"D2","level":"warning","message":{"text":"agentbook-tool.agentBookEventsTool (cognitive 16): agentbook-tool.agentBookEventsTool has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agentbook-tool.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b37ab71746824e80c857bcdf7ce38d5622ecf3e65ee799a9ffa9d64bd4bdedd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-mcp-tools.invokeMcpTool (cognitive 16): codex-mcp-tools.invokeMcpTool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-mcp-tools.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"855bbdfb3f5c212a9dd669f679abd0605c67539c124bee37edea9d2fdf81f25a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-mcp-server.runNativeMcpServer::handle (cognitive 16): native-mcp-server.runNativeMcpServer::handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5, ternaries 2 (5 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/native-mcp-server.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2ff0d7b4b7c25af1e6d8fab56311626f97e5e9972134b8ac17a362866edc51"}},{"ruleId":"D2","level":"warning","message":{"text":"context-rollover.extractAllText (cognitive 16): context-rollover.extractAllText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-rollover.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b27b7cb239fc9633e55198f765d07f615144c3c297b9ec20c664fd5507d8e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compaction-telemetry-audit.runAuditLogic: FunctionTooLong \u2014 runAuditLogic runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4beefb7b1271fb320270dd53af56ee20fd1fb1dcca5a3c9cabb0f88341b02e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MemoryManager: ClassTooLong \u2014 841 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 441 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"05237562adb96c87d4c0299d473ee14fb468301933e5210b0283836b70da6d88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-onboarding.provideHandoff: FunctionTooLong \u2014 provideHandoff runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91b17ddc2042c0899764e75502250704b93bb4797069d3b2a1419dd00c6d0ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/continuity-resilience-report.ts: FileTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 514 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27f3c5647c821c070acb593eef48609c99f78a09a04e25f71e763ed705ad267"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContextCompactor.compact: MethodTooLong \u2014 compact runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compactor.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa149b4476403111e8045b3c227b9ed2db90ad95b698d9637840a07e2360401"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/memory-manager-base.ts: FileTooLong \u2014 902 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MemoryManager (74-1292). The bar is 500 significant lines; this is 402 over it, 1.80\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":"src/memory-manager-base.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a0c853bc69a81a750b21dd6b6caaa8bacb6317a4f100717433aaa01c6863ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.ts: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"341a3a0c9c1c9c74b8f985d76f0de9a020eb40c8e2aae62e88c1e6413a908bc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/agent-onboarding.ts: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 225 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eea20e092b24c0d2797d15b713f540769d66827e7e83b888b5fea49cbf88485"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tools.ts: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6642c32f6cf71f681c143eea91672d764efc96a9d8ca3605c7b43b12622907db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: continuity-resilience-report.formatReport: FunctionTooLong \u2014 formatReport runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0bde92e94fc78452735d73133a69827d0a24dbaf841186bd90d72425701f6e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryManager.saveMemory: MethodTooLong \u2014 saveMemory runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"73916d83c76fc39692d7c1f4614752bd5b3aa77d4723ab48c6bf12db0439f031"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/recall-quality-tool.ts: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: RecallQualityAuditReportBuilder (295-849). The bar is 500 significant lines; this is 162 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"099c96b6394375a43e08e833d152ddbd0bbfe9a4ec0eef2a0dd8863da4b232a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: restore-proof-phase2c4-1.main: FunctionTooLong \u2014 main runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/restore-proof-phase2c4-1.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"816997329aaa3c127a4522cbf6cd25a8009236aa7759c75ca2c4f64a86e0c5a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecallQualityAuditReportBuilder.collectMetrics: MethodTooLong \u2014 collectMetrics runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"173df9461b3f016797ec214df5a8570ecaaee392edca579a88586d782531b34f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: merge-conversation.main: FunctionTooLong \u2014 main runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-conversation.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"410bbba27505f15381a75f79a39a7d97ee8bac987ed145a2420d9aad06420f4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MemoryManager: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"38906f43d0fae2a2e9ba4d0087b52b9387f6d92fde61b5035e1c2158695bd7be"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecallQualityAuditReportBuilder: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 64 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c7aa9d5b4748af6c6fbd0c609c7f218fd3860221b13551b4e95f46bf2cd9ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-execute.recordExperiencePacket: FunctionTooLong \u2014 recordExperiencePacket runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd852de095df02a47358beefc4fac40ce39d536e206a600970ebc8df2d4b39d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: merge-procedural.main: FunctionTooLong \u2014 main runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-procedural.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4050693ab824150eb357e89c0edc83213efcf7b70fad14f41030f0591fe639fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/compaction-telemetry-audit.ts: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8728de3287e08d1f2f44784716f59458bd795237652813ef1326c7763a4da27d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-transform.createMessagesTransformHook: FunctionTooLong \u2014 createMessagesTransformHook runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/messages-transform.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02ef410901382a97949836251309080496ba12cddb7eba15d105ccd96102918"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-transform.createMessagesTransformHook.\u003Creturned closure\u003E: FunctionTooLong \u2014 createMessagesTransformHook.\u003Creturned closure\u003E runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/messages-transform.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"05820fea7dc10e28c78423b98d97b62469205235219f0ef1875db56454e16908"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BeliefKnowledgeConsolidator.consolidate: MethodTooLong \u2014 consolidate runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd1025424998bfef711f039b6acb7dce57c002765ec2d9c8bfa8ceff0b645f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test7: recent assistant messages are protected (not compressed): 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":"test/assistant-compactor.test.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c89802180d4579cf252f026cceb1aec3bb633e99807c094baee3d980f3b0465"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test8: old large text part is compressed, preserves risk lines: 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":"test/assistant-compactor.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c070bd795c633d2e9f430b71a4b14c9332883d780c352fe50b0aebb7fece3a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test9: no compaction when config is disabled: 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":"test/assistant-compactor.test.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e28ca6c55e12d1c317f962577a6c673f91cfb7804a98fe552fcb6e87e882601"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test10: assistant compactor reports accurate before/after counts: 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":"test/assistant-compactor.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d98ebe3b09187f2593b1f78fc8d6fe34f0f3b2f0c066cb6be04ece1a97f9cd7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1. context_pressure trigger creates checkpoint: 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":"test/auto-checkpoint.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"714bfe9e09f94dffa265fde1eac6afae6075a9b751df66d9e776e75791f057ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 2. message_count trigger creates checkpoint: 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":"test/auto-checkpoint.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa17e3e63f7647aae2c123ea5be4b0b3707f211f43563cfb057f0a8de1bf47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 3. risky_edit trigger creates checkpoint: 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":"test/auto-checkpoint.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409d5d13815af8d03cb2ad663b6299d6c0a252524af40d2c49b3c3cd0a58b4d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 4. pre_compaction trigger creates checkpoint: 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":"test/auto-checkpoint.test.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cb1d7d46ce8b937f8ef6656930d581fae478efb44278cdd07ba0c14eb97faa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 5. auto-checkpoint disabled does nothing: 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":"test/auto-checkpoint.test.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e847e5ab9ab5b7652fb5045f5918771f43aa1deb294d746b43bd28e09c1812e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 6. all 5 trigger types produce distinct checkpoints: 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":"test/auto-checkpoint.test.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6037aeaf8eb59128ae9f3c36b3d60411a0222eaf8753945036dd60380c03cf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: repeated disposal (clearAllFlushTimers) does not throw: 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":"test/auto-docs-repair-4.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb70d2e4d4658c126c8e4882376a9ee079a65a7b60cb041764a2daf2da2b835"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: repeated disposal (clearAllFlushTimers) does not throw: 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":"test/auto-docs-repair.test.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60af2e128b82616944b40b7ebfa2cd7e16c6bfeae8878a68affbdd3545b0812"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: captures completed and failed tool results from state.output/state.error using callID: 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":"test/checkpoint-opencode-shape.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c52e234a4c87d482e2a2b645641997650758da7256ef36cb4c4506c77c6dad6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: preserves TOOL_REF markers that appear inside real tool state output: 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":"test/checkpoint-opencode-shape.test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec0d2d905c62bd581805c05db0ec9c6975711e7486141235d81840776cd9469"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: enforces maxRawCaptureBytes as UTF-8 bytes and counts stored content 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":"test/checkpoint-opencode-shape.test.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b50d5f488fa9b0be0c6c0a03f67ec6c518435426ce38570a9a43a7e6a4b955"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): serializes checkpoint replacement per session before deactivating the prior active row: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/checkpoint-store-safety.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e0f367855165bbf450a63145aa79800f79ccd58bd48aec9ea8a7414ab39d60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts a part ID as an expansion identifier: 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":"test/checkpoint-store-safety.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"49838c5f91273b86d0624b9fd4e7b9f651262fb5a53cc063198abf81a4dc2096"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: repairs duplicate active rows before installing the unique active-checkpoint index: 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":"test/checkpoint-store-safety.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8861fdd049ae15bc376542e8fd900477e9c0b8c9680cbd5c9ac971adc615b1c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1. summary markdown has all required sections: 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":"test/checkpoint.test.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab295272d7d7f9f8c46e52f80f0a512423f4814d8345c39719da7291a86c443"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 2. sourceMessageStart and sourceMessageEnd are set to first/last message IDs: 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":"test/checkpoint.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596426ce6b11582138e07e86740be93090dabcf13b6513f4ffc098f2192ca53"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 3. [COMPACTED] markers are captured in compactedRefs: 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":"test/checkpoint.test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0667cd544451638d5eb01b07578530bf25e63e35b3b3c8e0f368fc08d8f69604"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 4. injection stays under maxCheckpointInjectTokens: 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":"test/checkpoint.test.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d9bc9a3b854ced1bcbaca48176fbcf74ac1f6a305cea761a167e6d9dbed007"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 5. new checkpoint supersedes old \u2014 only one is_active=true: 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":"test/checkpoint.test.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"56191d513632196b07ddeeaa66609bc6817548baeb86f8010bb010d39667dcf6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 6. expandRef retrieves raw capture by tool_call_id: 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":"test/checkpoint.test.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f14583e9b67916b5a6ee9f26db10923245b8d8ae47e7fb55bc73aa5464dd07d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 7. builder does not mutate input messages: 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":"test/checkpoint.test.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b069a040f11f65af7920b096ba6d22ff4102ca740b52b664122401da21bde09"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts file paths: 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":"test/compaction-quality.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"debdb2eab726b3b57149d7592d33164155c4fe06f1b6ea9d22fec8d68f2b199a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts function names: 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":"test/compaction-quality.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d468dcfc65966eb1ef393a36869bcd4709ac2d217ea68f26440b4c04ebfd462"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts class names: 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":"test/compaction-quality.test.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f128cede5e4ad0268e39b22f5db2cd46c2367b268c18f409eb42142a7d7234"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts config keys: 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":"test/compaction-quality.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72946fa6b02018eb040df69bcffec120741eacf7539099c2cdfde9a7855dbab"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts error names with codes: 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":"test/compaction-quality.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8732c57d356452bfa7eb5c3e7c71df9770ec38f550253ee0607f92bf9e77c1f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns empty for no entities: 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":"test/compaction-quality.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01c2625c90d9de825cf744d530ca3ae88aace58ac37e0ca424f8461181ad13b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts decision patterns: 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":"test/compaction-quality.test.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdb7a641df2234b168793be73bbd2263dd765cd394f957c34271e54a1f59443"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts \u0022we chose\u0022 patterns: 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":"test/compaction-quality.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad64e95cd705ccb250d550c03702a1a27fd57333f226c7ee6e1166375e6613c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns empty for no decisions: 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":"test/compaction-quality.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a8d84f50d1fbe03736773c3d1f13a095bd9adeec081d7dcd36ad91cb7c0878"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts error patterns: 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":"test/compaction-quality.test.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc049dc772b2b4bcf0efe9902711253486719863efdca54991988eaa9d28b3f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts warning patterns: 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":"test/compaction-quality.test.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad8d1a7eeedf249fc6040e2bfb11af6f4db49812b0f2501be1b70305fda048c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: extracts deprecation and rollback notes: 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":"test/compaction-quality.test.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe94ba19d215eb81433280f9b887edefa77f4869fd2128dc8c9978ca1d07595"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns empty for no warnings or errors: 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":"test/compaction-quality.test.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"601724510b146aa637ba18916464665d6a34acc3257a682f85488ae71eb23f89"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 1.0 when all items retained: 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":"test/compaction-quality.test.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"270ceb7671949e7a75939af99f853ea86255ea49c9ff72a2940647da8e5c4227"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 0.0 when no items retained: 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":"test/compaction-quality.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b34c45cf6bc294e194fb07aba54ee13c7a9b45e0a38a977d829338714539f86"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns partial retention: 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":"test/compaction-quality.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca05ddfd9098df0043b90ca3bb52313679edd7945797f19c6345336af1b7b679"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 1.0 for empty before list: 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":"test/compaction-quality.test.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3eff8de093b4c9fa550246134b4a6e0960f391310da341d4fa5f64cc2c014f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: computes ratio correctly: 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":"test/compaction-quality.test.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"93703cfa38c7b34a0480425b9e87b711b081223ae6047466eabd2d4e2b284bb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 0 for no compression: 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":"test/compaction-quality.test.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd70409e241b258be4590d53656623ff018408c0311e8560e426c05f9592fa72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: handles zero input tokens: 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":"test/compaction-quality.test.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7643db570d685d7b762ba122a23f64b541abcee404786bccd12bb5b3e2a8a3c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: computes perfect score: 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":"test/compaction-quality.test.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d698bebe4da9f4de7fb8110087df71640702fc114047785384f8187df69eb163"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: computes zero score: 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":"test/compaction-quality.test.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b138c2ed42a7bf978a0a7189c689782f2a29a58c31fa6c96f35ea5854d7bf6a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: weights entity retention highest: 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":"test/compaction-quality.test.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c843c60387d5a0fa4d4949a73760283684cb0c556a204c111b78540f4d5dad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: weights warning/error same as decision: 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":"test/compaction-quality.test.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"801de176ba4fa907f91e35244b88a03b3ba998a51980e9f61d0153c585b42ce8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 1.0 for identical vectors: 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":"test/compaction-quality.test.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcec677fa5d20c9a8dad3ab60636062f662337982ce504a02c344b5cd463124"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 0.0 for orthogonal vectors: 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":"test/compaction-quality.test.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e28ff8eb4da0c5eafbc61732f44e4a610b1eedab571cfda6320c37f9ee2de6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 0 for mismatched lengths: 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":"test/compaction-quality.test.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83bcd6cb62b37af36bf531a90258ad7576d175e8ef28a73cebb8f9f3b8e2295"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacted memory preserves file paths: 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":"test/compaction-quality.test.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea013459600599d3c110c927df7eb2b979512e89d63c56c9e260583628955545"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacted memory preserves function names: 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":"test/compaction-quality.test.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc5f50b2ea797bc26755629d1a0ed723fbaada3a4c0e42ae5a6d1d51770ac2e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacted memory preserves errors/warnings: 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":"test/compaction-quality.test.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f996fafc4167a8f73805284994bc617fefd28f7c79d72cb34a0fae26966dd925"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacted memory preserves decisions: 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":"test/compaction-quality.test.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b259eafd0740758079de850e3ec28043b894162be2212fe801cd43515699c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacted memory does not drop deprecation/rollback/security notes: 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":"test/compaction-quality.test.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e2a77dd7df8e7d9e0d47ec279e0b3f9cffc0803801d281540f0832afe587f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: quality score drops below threshold when entities are lost: 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":"test/compaction-quality.test.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac37698e2d35e50273739fdf59c5c7e98261b2c497e6bb4eee1dc88e8a2385b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: quality score passes threshold when entities are retained: 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":"test/compaction-quality.test.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2455b35d4d8b69652e2af75cb1f65b8b32e921ad8c65091c70306bb6f25bf1bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacts old completed tool calls but keeps recent ones raw: 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":"test/compaction.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"445b88ac356183417cbfcf1639e10aa29910e612fe99df6cb4b134624f9df118"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns the records compacted and retained for native cross-turn buffering: 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":"test/compaction.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ca19d81852bcc148a6160f2aad5111182ef77dcbb4245ff14e2dbb6b890da6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: preserves running/pending tool calls regardless of age: 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":"test/compaction.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a493ad1214bbabf00d72cfdc4e8c0df0ea4fb5bea321f04663c8b380032bcc9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: preserves errors and warnings: 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":"test/compaction.test.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"564c929ca9c3796135dabb6e2e5a16aed5fb3e52dfd702fa2a3351c6d1f7f8e0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: keeps last N tool calls raw via workingMemoryWindow: 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":"test/compaction.test.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"da014d76ffb6755a33be9a817ddfe0575e854ac40e2f276d3f071b7184272bb8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: disables compaction when enabled=false: 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":"test/compaction.test.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fa907d881473971b8de427002e87872940d0d6532a57d028ae495d3fb91bb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: produces expandable refs for compacted tool calls: 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":"test/compaction.test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"666392344c42b5c7c121d014cfc528d0a15e0ab9cea837195d324d82370a58f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tracks cumulative stats: 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":"test/compaction.test.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbbf7a84a4ed4928110a1c2426f8d6999d6ee6cbab779e268e555d3193d7bdf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: budget pressure compacts the oldest completed raw call first and never running calls: 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":"test/compaction.test.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"741be2eb7888536eab6eaaf6bf87de66c5de98b8112c1b3bb5feb2e941e9954c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not replace a tiny result with a larger TOOL_REF: 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":"test/compaction.test.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d5eb7326bfee19f4f231b74a3dfa993c9516e4fe54b68658a1c8591be98e9e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compacts error-state content in the error field instead of adding an invalid output field: 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":"test/compaction.test.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af913d25132f97ac56e24da9fec81e2b627cea6823e19758fb5e61c25d736b3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: clears stale last-result and quality state on an empty pass: 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":"test/compaction.test.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1c1e05684b844d61aff23692b8f20c7647a48088127b1784e72556ace7410c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejects a compaction attempt that fails the quality gate and leaves messages untouched: 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":"test/compaction.test.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f00690ba51360caa1153d2508751045a65caaae751fc97502e7834721e8bc2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: generates distinct recovery IDs for multiple tool parts sharing one message ID: 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":"test/compaction.test.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"606415848beb3500f3a705c0681690d6272ab2989ba7e52fb3614608eb1211a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: caches old large parts and mutates prompt text in place: 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":"test/context-cache-runtime.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbf822961aa562815910a7b2409415e1b91b4420f7184c23ed26291608070cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: skips items below minTokensToCache threshold: 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":"test/context-cache-runtime.test.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f286cfd6e53cfbe35a68a0cae07eb14f8e23f68d74a0b072038c0556e57090a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: storeItem \u002B fetchItem round-trips all fields including JSONB metadata: 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":"test/context-cache-store.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3692cbc909a9b80346c81746e25c6c8c25628059f1d2f243d1291f5cee2001b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: storeItem ON CONFLICT does not duplicate: 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":"test/context-cache-store.test.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d717602e58410fb025bc793305e29bdaf8bdec4f19568f399f19061467afc1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchItem returns null on miss: 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":"test/context-cache-store.test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0b5d66fcbe0a381536db3a1788ac39f0f7d91e020b0ba9fbf11fbd64991b9b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchItem increments fetch_count on each call: 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":"test/context-cache-store.test.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4461be30c496dd5cf9a822ca1006268dc55d873f44ae2f6bac7b645effd04e07"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: searchItems matches on summary and content, returns empty on miss: 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":"test/context-cache-store.test.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"072545ae3d866505bdf08cf8778a31c6dd9baee076154ec39538ee8a24088dcf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchFileReads filters by metadata.filePath: 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":"test/context-cache-store.test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4899f677cc16a5f1a193ef9791ab021c1724bf87d9308f3fa25f6780979235fa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchLastError returns latest error or null: 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":"test/context-cache-store.test.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f20c01ebe70e727ff9aa3cf50b63cae8c68011cbcdbc15d383c88ccd689f34"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fetchDecisions returns decisions ordered DESC by created_at: 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":"test/context-cache-store.test.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a16d1386e68030137e1578c66d05460fbe10d03aa21bcb56e1779cb1b9f95"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: pruneOldItems removes oldest beyond maxItems: 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":"test/context-cache-store.test.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d736051516fb5d4b56de1302aea1ab5d0e77dd4ea8e61b72a92006eae9c9e7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: compresses old output without touching anything after the latest user message: 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":"test/context-compiler-active-turn-safety.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddd9b2a7e5b0c4adb6241599d61c93a3f9a5bb70164675a7f7b704eb273d66f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: treats TOOL_REF and governor markers as terminal instead of compressing them again: 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":"test/context-compiler-active-turn-safety.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b48a1b7fdd7425437c57b392b5b496456636a157a319c2ffa75105369d006f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not replace a short output with a larger compiler summary: 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":"test/context-compiler-active-turn-safety.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce39ac44a909943c9cb1f4e3892a0d6b5e9bde987697f448ba302224bdb56b10"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: never replaces tool outputs produced after the latest user message: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d6af5d1c1c4b9da3a5872a8b4c17bec373eeb16d5372f3189f4574174dd85f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: filters existing TOOL_REF results before compaction and remains idempotent: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f01cc926053f1940358139f79dfc36fb22659ede2cf3697d1e43a9cc6dce40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not compact an existing TOOL_REF when called directly: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"245230ae29c579eb0f1e7dabbf9cc5eccb42972f4b6ef8c5d45e57185e1900d0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails safe when no user-turn boundary is present: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be4252de1e9649404cb5696352ebac8eaa1daad2309d93819dcbed30ea1e4fb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: stores the original output before emitting a fetchable TOOL_REF: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07dc2ca7d132a89e101e80d85a74b19cc7b458eafd1d6706a5f224c213eecf9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails closed and leaves output raw when the recovery store write fails: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"70801521500f12bb8cadc3d2c40e3565bc90be0f8197d9deefb55464e8b6f809"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: continues compacting safely stored outputs when another cache write fails: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d9da937c60be29a42280efae343e13e0f730fe3d71b704aacd08cb488ba885"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns cache-write failures for retry on a later native turn: 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":"test/messages-transform-compaction-safety.test.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27f2fd14630ff3c247fcf9ce2d4452ffc7f575488b36338b21cd9e7098dfa22"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: detects agent re-entry source-only wording, including typo-shaped prompts: 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":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4cebc4ad7fe26c4c0c314ef2c418ef01672da267e408170ec791daf7d475e0"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): injects a source-only override that forbids tools and still allows internal findings: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feb6002021ef1767de563bc8975d045424dcb1988881db02b69ba60d0b63d81"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): detects source-only prompts from part-based system transform messages: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d7539af180f7a53490aaec54337e2d564121b5702e4abbadd4206340275c85"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): denies permissions and tool execution for source-only sessions: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a1d52e2960a99c47f15723c9d4fb2857a8eb9647c967b507ce555dc464af3c"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): records source-only user turns during messages transform before tools execute: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69c22091fc8b071c45c48138d139698a2e6d4c0c3121e6a6136c69c38942929"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: records source-only turns and disables lookup tools in chat.message: 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":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"726dbe365ce16ce8126c49fdac5346d2227a7276410db480cf521dc12b2e583a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: uses chat.message source-only latch when system transform has no session id: 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":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b4ecc17ba2a6fdbed3373ee9d99d96af6675cba8d4c70431ed0019f30851aa"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): should inject re-entry block on first turn: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4a7a3298343bd01480b2d0fada324e63662b768fa7b4f8a5f0ed2250629aa"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): should not inject on subsequent turns (reentryInjected tracking): Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae7a4fdcac4529cd9e9f03e01e9e0224aad0d378c6e7da36682894fe66804d2"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): does not mark re-entry injected when preview-only returns no block: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ce2c2fb3dd4ddd5f898bb3cf6396a3bd67a63bcb7cce274f8e1267957dc053"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): should log when layers are dropped during budget trimming: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76311e0a9ee18b117fa694810633ab81a360586a8628296aa6ff3e7e4c9b03d"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): should report budget trimming applied: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda407c26f378858cbe707a5393f57b6af0270261d09ab8d66dd694972f18344"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): surfaces continuity directive when first turn is a greeting AND re-entry protocol exists: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6cb69021e6cb8a29bc5be0a1c250a072bf62063e7c4777b5b296caa9e3d571"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): still applies blank-chatbot suppression on NON-first-turn greetings: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf8af32cc19fca54d6882fe095c9ca066912c85e2c453345c96713fdbaa1cba"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): uses currentSessionId (not \u0022default\u0022) so per-session injection tracking works across sessions: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-7b-system-transform.test.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74bdf31bee881c2b9cee0d148411e8e4bd1c2d66b3f6b15254e159909203909"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: builds a read-only preview report while live injection is the default: 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":"test/phase-8a-impl-reentry-ux-tool.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"220930929bfe98e576f3b736f036ad030502eec7d830413d86357d77bbe9acb8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reports trimming diagnostics when layers are dropped: 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":"test/phase-8a-impl-reentry-ux-tool.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27d97e928ea0a171b9aa4da89ab45bc300905fa9d426bad7a2d3ab01c093bc0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: formatReport renders markdown with status \u002B layers: 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":"test/phase-8a-impl-reentry-ux-tool.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3faf6e1d5c6b119db63a0acc923e673f9d8019671ea9aaacebea90529b8ab4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: degrades gracefully on missing session/project: 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":"test/phase-8a-impl-reentry-ux-tool.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a67028126aceb04a126fa2a28f758272866460f1fd0c50ae9444f420a048ff7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tool count is 33 after Phase 9A: 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":"test/phase-8a-impl-reentry-ux-tool.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc50521f34a19d0d720ab48d140817aa4acbc61a9a034b63c4d55c9d6856d36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: defaults to live injection enabled: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e9e002b191080109ccac7988b2d1e0ad52cf4959a81f74691abc49abd31df6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: PluginConfig.reentry defaults to live injection when env is absent: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04575ee71319044940a1face000210e23b96b456cb8638a92e6198ace13735c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: preview-only config: adapter reports previewOnly=true, wouldInject=false: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb60c567342f2be6a5fb03978cacf763d176d2d6c41f6050674839053e7915"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: injection-enabled config: adapter reports previewOnly=false: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00ca95709ba373418082ea71ffcde05d7f6418689bdc91a7d6ee62de7acd1bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: disabled config: adapter reports enabled=false: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f24bfd1e0e952e7028ff954496d4500afb931759f21dcbd7d289a63921abe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: formatReport renders live previewOnly status: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"addbc8272c64c5e7ae34ddd427d84afc36c3e920bc043d58e90730b8ace14bc1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reentryInjected Set prevents re-injection on later turns: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"43545abbb7966cf7dd55a76db6ac51d98fdc49dee2834333c68f84452ec126f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: distinct sessions each inject independently: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b5f65e2aa60f38c3203f5d6b3270629b6edd7758757ec92372b528cc9d36c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: adapter does not throw for missing session/project: 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":"test/phase-8b-reentry-enablement.test.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5357945dbdbfe62c0bc4db72eb35d0a880a9ccec8a727ae0d7392347a5446f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 0 for today: 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":"test/prune.test.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2bb2b3ab4bf4ad361344570c52dd5ebb48985374cc9541d7e5f0b592ed1fe7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns ~90 for 90 days ago: 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":"test/prune.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb12489b0fd1d4541b223d228c90919213ac75b2e1ef4beaec534fb28f5b95e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns 0 for plain text: 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":"test/prune.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06d0f38919646a9e9c3777778717d3737a5b076c92c13dbc58287185626a258"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns \u003E 0 for text with file paths and functions: 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":"test/prune.test.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a1e7a75260b0619672af921a0d01998299f7d9d844f44f7463bd9dbed15531"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects memories with decisions: 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":"test/prune.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075c0ff088881e01b56fd692f75945d9d3b6d4a55aef069ac2b6d6c46be9301"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects memories with errors/warnings: 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":"test/prune.test.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d6dc0200b15261f1ec36203be894fa9054e53329d759bfaffd1459a819359e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects memories with security notes: 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":"test/prune.test.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d037ef86c344030514b811464f34001df495c8eeafb4af9f7cda2dddc34bd8c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects memories with rollback notes: 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":"test/prune.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d4413d23a145fb3d9cab71b7f8b962850a905c030e24f7b5756f7bbc883e94"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects high graph connectivity: 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":"test/prune.test.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"40704eb8fe40ec95874bded40d08f2146ac054da7bc67ae9ff72e3f786e754f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects frequently recalled: 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":"test/prune.test.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20850dce8027f805f33184cb56cc8862ffff90df6b92afb7c5d5dc4ee2b6865"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects high importance: 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":"test/prune.test.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a21ca7ca46512a1fe3a491a1b58e359fc502794e1bb5adf571ded5d3072aef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects recently accessed: 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":"test/prune.test.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0366ae8ac06923e8f0a1a6b0625b3448d8c43574b22645680626cd8b9bea8c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: protects high entity density: 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":"test/prune.test.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60da2c88616a38ca6dd5d30fc28fff511bdfed33a165d5711de1ea9c2c21e7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does NOT protect low-value stale memories: 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":"test/prune.test.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ab7a4cef54765850249699e0caa41fdb659dbfcef7b125f871ac8715a3703b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: scores old low-importance memories high (prunable): 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":"test/prune.test.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"84103fa3551c1d1388f9410cb2c18fdf0d6adc3bbaf061409bc5535a4b12ede2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: scores recent high-importance memories low (not prunable): 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":"test/prune.test.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d9d5271bd92e630c0cb5f63c8d455344d5602ffe5c5444d4346925db3b7b71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: never-recalled memories score higher than frequently recalled: 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":"test/prune.test.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e41d695b69939deccb642b3d658dc0275c24bed5eb8f054ed8e5b58ea6d2904"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: classifies score 0.8 as low risk: 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":"test/prune.test.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"549eadda5fa6ccf9a17f48b9c69150c34d65541842052700ba139670b37a274f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: classifies score 0.5 as medium risk: 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":"test/prune.test.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a1348756bab6ea0168c43999d8208332639232e83bee1d4bfb3ca234a62c74"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: classifies score 0.2 as high risk: 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":"test/prune.test.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f38d613b529c330fa519b81e8f3a7593a8f9c456dc12ab71a7e6858acbc1c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: mentions old age: 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":"test/prune.test.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7ad61010d88192b9735f76c16966eab124b4a4bc40b30c2d9c360e8c47ecde"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: mentions low importance: 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":"test/prune.test.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4b8dd18924aee70e70cfbf2c13e3635ee80320e597e093e39af69292dfd6f0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: mentions never recalled: 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":"test/prune.test.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdbddf7bf52e025a6ae3bcc3b482b0d970fc9f42e15a138c5d3b3e2d9bf943f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: never modifies input memories: 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":"test/prune.test.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7153f0e629794e5bab56d6a2eddc3a10fa3274604e52727a4d1652c99af881c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: produces candidates with all required fields: 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":"test/prune.test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc28ec5cf406209c7178c0dad125ea94e99bd8a34383a950c9bd805a2a60b67"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: marks protected memories in report: 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":"test/prune.test.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eee52dc065e27b4f9f5a821f4523dfd15398eca767f2daf227e2c6af922256c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: suggests low-value stale memories for pruning: 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":"test/prune.test.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f1234065a263cc8e70387e504bb5be27359353e8faad682aba8a234bde9c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes risk distribution: 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":"test/prune.test.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2658a29e00c4055bc794667c5b74ae1492ab5a7469e1a0cd6607f4e9d905609d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes tokens saved estimate: 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":"test/prune.test.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"399634ba3b877129b3a2039951f8650a249dd5644a029daa8b03623b12d511b8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: respects maxCandidates limit: 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":"test/prune.test.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be8239dd7dc4a9c8c484602ed2da83ff12e452bf8c68b3914876e8be8e6d090"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: dry-run is always true in report: 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":"test/prune.test.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"04104335349eb85f3faf98d6ce3613f49ef503f5bb990524efe99ed5cf9fb174"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: sorts candidates: non-protected low-risk first: 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":"test/prune.test.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a427b2e5ece7ef473654b140fe4d292057c92af8437d1ba9409f72bfba6688"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: mix of protected and unprotected gives correct counts: 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":"test/prune.test.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11af3d90642c86ffb3bf3c473399ec0115926fa3b89beb7fc5a82a05f8fe5c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: pruneMemories returns a report but never writes to DB: 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":"test/prune.test.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7becc910bdaca8faccb9393f163eb34cd88fb9f6dbc379cbb572a408cf7ef9c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: pruneMemories is a pure function \u2014 no side effects: 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":"test/prune.test.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"189eae10fd223acecd5b092bfab26ea2064408b94cffd5ca9b5d8cdc6369a230"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: no candidate has action=delete or action=archive: 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":"test/prune.test.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb18cb6c5fbe3376847667ad0a44ef7132d0d5045de7363c0a713416d5601aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns a block when previewOnly is false by default: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f26e617a28fdc877eaef1b61520877a21778deaded6c3e88924ffe3e4c82e11"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: can render a block for source-only turns while previewOnly is false: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"071f399bf54af3d85919eb1fae76ebd0c0e33ca07e901900067a85815fb7f7b8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns null when disabled: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"87911fb3c8c36690f45343ce000a2428f1c93e1d5c7aa3b5d876f14e5689446d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns a non-null block: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"028206f6ff2a41203a6589bb2dd995a705f2dc1d38652f6aafaba427d8796c87"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes the framing header: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"586d9e4069928de4c15f7a9ad9acb3b108d0aa258fca007f64f4d0607507eac5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes source boundary instructions for only-this-block prompts: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3662b965d4a11807012fb74d4f0b18caef4e2145006b9330d1880104d9a722b2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes identity layer: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5582bcd9bbe280b7aeae1b62d53b74d8976e72a513a0caa2bb7f58c38231f412"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes all 8 layers: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfa568bdbee10776e4f83a29142848e48ab4fd1c3cefc08787f70ac77593ab6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns diagnostic with layer info: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2b0bb639e39fec80af503ceafe7d00ab7be90489d67026d9af9f2fd5851203"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reports disabled state: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bf912c8d7fdcd55190ef0bbc034a8f76486a3564212a18da27495dd0dda808"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: trims lower-priority layers when over budget: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"936e224518d59de953c8328da862f778a47d043c6aeb838ed8098b0e1449ef42"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: never trims identity or constraints layers: 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":"test/re-entry-protocol.test.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3200deb19a89982b3116e644b75e46415675f996cf903698fbf17f5144e7aa81"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes overlapping capture windows before filesystem mutation: This test starts work it did not wait for (\u0060waiting\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((done) =\u003E setTimeout(done, 50))\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":"test/work-ledger-concurrency.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa5d120c8044450ac183f9d559d477f8b1f62aa655c0ca4dd90ccebe48ebb3e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes Windows case aliases as one physical file: This test starts work it did not wait for (\u0060waiting\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((done) =\u003E setTimeout(done, 50))\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":"test/work-ledger-concurrency.test.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"141ba69c3b68939ff372b82e221246fa63ccb60d5f1985c724592900e8705e26"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes concurrent differently-cased creates as one file: This test starts work it did not wait for (\u0060waiting\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((done) =\u003E setTimeout(done, 50))\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":"test/work-ledger-new-file-alias.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e3970c94c87ea1134ac0372891661acb1e38a5fe146a64a6fe41a9644e4476"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for an active capture before refreshing monotonic survival: This test starts work it did not wait for (\u0060query\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((done) =\u003E setTimeout(done, 50))\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":"test/work-ledger-verification-lock.test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdba0d154b9fe309cc9bd2851f4866540aed6708a48b3640a14efbc4df4194c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/tool-execute.ts: src/hooks/tool-execute.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in tool-execute.recordExperiencePacket at line 323. 9 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/hooks/tool-execute.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":"src/hooks/tool-execute.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fff66149e5bc9664fd522b3c3fcad4268c8762651ffc9a255930820f7027c47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/context-compactor.ts: src/context-compactor.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in ContextCompactor.compact at line 86. 5 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/context-compactor.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":"src/context-compactor.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"146dc4de5150a2a57b7c80cae203586e3c4f6893537631fdd7089ec7635ac1d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/context-compiler.ts: src/context-compiler.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in context-compiler.classifyPart at line 314. 3 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/context-compiler.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":"src/context-compiler.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc7efd513081bae73c00c6f84c0b688191a2708fa818e8e5b68a24f9c0d2dcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/doc-analyzer.ts: src/hooks/doc-analyzer.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in doc-analyzer.analyzeChange at line 153. 3 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/hooks/doc-analyzer.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":"src/hooks/doc-analyzer.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"496c38f21f822fcbc520f9ed99587248b981cb6a70b2e005754406cbd4dd6a20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/tools.ts: src/tools.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in tools.memoryContextTool at line 166. 4 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/tools.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":"src/tools.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0961597d2356c1fad0e04ec7217f9eabbdbd44281425cb21ddb725c51c2404ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/auto-docs.ts: src/hooks/auto-docs.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in auto-docs.flushDocUpdates at line 144. 5 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/hooks/auto-docs.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":"src/hooks/auto-docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8ebe7d18c6c0b3d6e62f18a991cdf17d61263f998f9fef12ea13780e0ba360"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/agent-onboarding.ts: src/agent-onboarding.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in agent-onboarding.provideHandoff at line 571. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/agent-onboarding.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":"src/agent-onboarding.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb500a5f92cdafe3b72c7a343360b8859bf2c041e1caa2af70574fb56e0e722"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/belief-knowledge-store.ts: src/belief-knowledge-store.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in BeliefKnowledgeConsolidator.consolidate at line 148. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/belief-knowledge-store.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":"src/belief-knowledge-store.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3415159e6ca3e683ef94484be60d81a735cdadb136ca7b63a4d6577ea76cdfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/subconscious.ts: src/subconscious.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in SubconsciousWatcher.walkDirectory at line 223. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/subconscious.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":"src/subconscious.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a083fc89f472cc30d4bb9bce1e68265790ea5e883faea9f022c880ba996002"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/hooks/messages-transform.ts: src/hooks/messages-transform.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in messages-transform.createMessagesTransformHook.\u003Creturned closure\u003E at line 37. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/hooks/messages-transform.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":"src/hooks/messages-transform.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f832e3e6b629d91f15f5a57dc0c215abe478e6895a9b8dcb687e721693ee69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/continuity-resilience-report.ts: src/continuity-resilience-report.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in continuity-resilience-report.formatReport at line 791. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/continuity-resilience-report.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":"src/continuity-resilience-report.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c954cdba8ad303a485c8780d1916cf9854d11601e37c2981a277ecd8ca3f9e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/recall-quality-tool.ts: src/recall-quality-tool.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in RecallQualityAuditReportBuilder.collectMetrics at line 349. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/recall-quality-tool.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":"src/recall-quality-tool.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d1b148b9f3774b24d66bed416d28a9cba15775db8149237702b615b843d28d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/compaction-telemetry-audit.ts: src/compaction-telemetry-audit.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in compaction-telemetry-audit.runAuditLogic at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/compaction-telemetry-audit.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":"src/compaction-telemetry-audit.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"266287c31604111fa02773ac6b17b6cd50aa5c5562a65522ee9356f04b019c15"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/memory-manager-base.ts: src/memory-manager-base.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in MemoryManager.saveMemory at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/memory-manager-base.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":"src/memory-manager-base.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4001710db07bef4a0a90a3bef1bfa9759a2a172daa8b24b78f2eb7e5e0a06f2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/codex-mcp-tools.ts: src/codex-mcp-tools.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex-mcp-tools.invokeMcpTool at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/codex-mcp-tools.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":"src/codex-mcp-tools.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf2da084ac4ef7a8feb3827877b5e3f05acfc9621f5d00f5f8a84973b58af07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/context-cache-runtime.ts: src/context-cache-runtime.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in context-cache-runtime.extractContent at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/context-cache-runtime.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":"src/context-cache-runtime.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06be54e9e92f551c519c4903422192a0dd64716e124c5292393a49ee0e08b9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/concept-extractor.ts: src/concept-extractor.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in concept-extractor.extractConcepts at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/concept-extractor.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":"src/concept-extractor.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34513daf6c23761124bb20daae3e68963c8005dec842b749624e050545be882"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/codex-bridge-extra-ops.ts: src/codex-bridge-extra-ops.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in codex-bridge-extra-ops.invokeCodexBridgeExtra at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/codex-bridge-extra-ops.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":"src/codex-bridge-extra-ops.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40b91ee955a71786f014c2e7b0abe5d124e44cf2b6a5b075046fb8087ba9241"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/belief-promotion.ts: src/belief-promotion.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in BeliefPromotionEngine.promote at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/belief-promotion.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":"src/belief-promotion.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e5e0b1ba55da0f7d6cb2a167e77a833fa44f6015c28a5ff781628313864bec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/context-governor-optimizer.ts: src/context-governor-optimizer.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in context-governor-optimizer.optimizeGovernorContext at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/context-governor-optimizer.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":"src/context-governor-optimizer.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"821f0ba01d830ca5e6c09a6f2238436f2e5c7c821d872c3065368e0c66467c62"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/schema/migration-artifacts.ts: src/schema/migration-artifacts.ts changed 14 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is migration-artifacts.historicalArtifactSetsFor at line 123), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(sqlite): accept candidate_capability in living-state queue (#102)\u201D; \u201Cfix(recall): exclude inactive memories from current-work recall (#100)\u201D; \u201Cfix(ci): restore embedding fallback to hash on remote failure; update tests \u002B hash pins\u201D; \u201Cfix: resolve 4 CI test failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/schema/migration-artifacts.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":"src/schema/migration-artifacts.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44d75ca5a74526156f2438322cdac9796081c685c54666c6031a1abcf17658"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/embeddings.ts: src/embeddings.ts changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is embeddings.resolveDimensions at line 85), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ci): restore embedding fallback to hash on remote failure; update tests \u002B hash pins\u201D; \u201Cfix: resolve 4 CI test failures\u201D; \u201Cfix(ci): embed fallback \u002B supply-chain fingerprint count\u201D; \u201Cfix(correctness): embeddings, isolation, recall rotation, telemetry, wiki export, ranking\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/embeddings.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":"src/embeddings.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d38d294c6ad7422159fd3eb3819637b3b42868cc4e3a7fafabac93bb62890ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/redactor.ts: src/redactor.ts changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Redactor.normalizePath at line 324), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: ignore superseded dedup rows and harden phone boundaries (#98)\u201D; \u201Cfix(redaction): avoid treating bare 10-digit values as phones (#96)\u201D; \u201Cfix: resolve 4 CI test failures\u201D; \u201Cfix(redactor): preserve normalized paths without workspaceRoot\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/redactor.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":"src/redactor.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b8b2018b383149d40e8f2800a51645e2fd0334c312f4d9f8327127bc36131"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/re-entry-protocol.ts: src/re-entry-protocol.ts changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is ReEntryProtocol.buildBlock at line 55), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(correctness): embeddings, isolation, recall rotation, telemetry, wiki export, ranking\u201D; \u201Cfix: re-entry/onboarding continuity \u2014 session ID resolution, greeting suppression, work layer, project ID\u201D; \u201Cfix: enforce re-entry source-only turns\u201D; \u201Cfix: guard re-entry source-only prompts\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-19..2026-09-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-19 20:21:00 -04:00\u0027 --until=\u00272026-09-17 20:21:00 -04:00\u0027 --full-history --no-merges -- src/re-entry-protocol.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":"src/re-entry-protocol.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d1b268d3472a790f9ee25171db829c99fe924415583c7855801f21f5dd6b23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u00222. memory_events columns\u0022 repeats the code it sits on: 3 of its 3 words (memory, events, columns) are already in \u0060const r2 = await pool.query(\u0022SELECT column_name FROM information_schema.columns WHERE table_name = \u0027memory_events\u0027 ORDER \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/csm-live.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41cf983d75a229ec5a57cafc1a939452d61e5ef5055fdea204de13819e95c16"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Very short episodic with no semantic content\u0022 repeats the code it sits on: 5 of its 5 words (short, episodic, no, semantic, content) are already in \u0060if (content.length \u003C 25 \u0026\u0026 !/[A-Z]{3,}|http|error|fail/i.test(content)) return { classification: \u0027safe_archive\u0027, reason: \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/review-tiny-junk-candidates.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cec1199216188f28ec10eb133e747bcd991c34b9cee257106f6a74d7ff943f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update candidate status\u0022 repeats the code it sits on: 3 of its 3 words (update, candidate, status) are already in \u0060await pool.query(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-extractor.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7813c365c88022b8d516f8daaeb76c342dc98f823bc61274f370c2d6fadf89e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract concepts from content\u0022 repeats the code it sits on: 3 of its 3 words (extract, concepts, content) are already in \u0060const extraction = extractConcepts(contentToProcess);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0078aa32679fb1e72b8c1caacca5bbca31bd7a4656333e099a06d66170c49be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove memoryId2 from memoryId1\u0027s linked_memory_ids\u0022 repeats the code it sits on: 5 of its 5 words (remove, memory, id, linked, ids) are already in \u0060await pool.query(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/priming-engine.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c32c479c2b7f36de95fa4ceeab8f810ab8d483abad4d762900777192e5f07ec"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove memoryId1 from memoryId2\u0027s linked_memory_ids\u0022 repeats the code it sits on: 5 of its 5 words (remove, memory, id, linked, ids) are already in \u0060await pool.query(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/priming-engine.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"138f6deb4dd7be3e9eff1521363283840f52f676c6d086882c7987cb486f4b3b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Empty result rate\u0022 repeats the code it sits on: 3 of its 3 words (empty, result, rate) are already in \u0060if (m.emptyResultRate \u003E EMPTY_RESULT_WARN_PCT)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8715dbff50767d870b2310c76b38d603df7026c33591a224321499a8829429d5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Text fallback rate\u0022 repeats the code it sits on: 3 of its 3 words (text, fallback, rate) are already in \u0060if (m.textFallbackRate \u003E FALLBACK_WARN_PCT)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d80080693076b1e56723e0fe4cf4e0fdb12ef1ce1561ca8c0d0aebeaa95a71b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022One reinforcing candidate (reinforcement_count: 1, contradicted_count: 0)\u0022 repeats the code it sits on: 5 of its 5 words (reinforcing, candidate, reinforcement, count, contradicted) are already in \u0060const candidates: CandidateRow[] = [{\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/belief-knowledge-store.test.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9dd4e6a4463def040a64bec5e4c4bbb64728dc1c8cd17d7cc160eaba8bb446"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify output mentions read-only\u0022 repeats the code it sits on: 4 of its 5 words (output, mentions, read, only) are already in \u0060assert.ok(output.includes(\u0027READ-ONLY\u0027) || output.includes(\u0027read-only\u0027) || output.includes(\u0027No writes\u0027), \u0027output should m \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/belief-promotion.test.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7044dd21df6f78b277296f9cd7752c5c116a0cc23c0ffbd9b94db3e5d0caa43"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check memory_quality_scores table\u0022 repeats the code it sits on: 4 of its 5 words (memory, quality, scores, table) are already in \u0060const qualityResult = await pool.query(\u0022SELECT sql FROM sqlite_master WHERE type=\u0027table\u0027 AND name=\u0027memory_quality_scores \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/sqlite-schema-bootstrap.test.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"89677aea9597e08139da79d71dbd73703332785f218243cc9d3c366fda956405"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2500\u2500 Test 3: Already-compacted parts are skipped \u2500\u2500\u0022 repeats the code it sits on: 5 of its 5 words (test, already, compacted, parts, skipped) are already in \u0060console.log(\u0027\\n=== Test 3: Idempotency \u2014 already compacted parts skipped ===\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b89d2ef4701d92a43bf4f009e04f48ea5541649a0e3c77e7671a9cad5df91b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (56232 LoC, 1042 module-visible types across 14 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":"D27","level":"note","message":{"text":"Scattered collaborators: 42 % of calls cross a namespace and only 19 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"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":"7752ce994e8b863cb36114d7b701cae47072abb64207c5b4fb79ba5b38afdbdc"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15d6f542041edf0d37d7d3e4923d5eff05506e0d90e02538e672ec134560dac3"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8d4a0f1929f34b20b8bc2f8f7e48197ce3f563d331ee6b6e6fd51b8cfc75a0db"},"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":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"609cc1597af4931c09124e4f4f1cd31a6ad0cd13715208061c21f7689a623aab"},"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":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e3feaaa97b5789904257f79a1e5e965d82404ceab85447657b73bb080c310de"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"766c757c0d41f9fa7129df4a11073b14123444534ebf65c9e15578fe4e4911e1"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7dad34d8e10536415bf38ced50e8654937ec9bbe89af5b7a934352188cee76c"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5817ad3f532a62d36e451b6be6d6761094f37fa27b5cf3b0f01fdb79a4b9a25"},"properties":{"dependency":{"package":"toml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87acedc051cb89a8ce4b5f36de7264e8d1c5c5fd3ed662cda178e80e0c31f9d8"},"properties":{"dependency":{"package":"zod","version":"4.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"src/codex-native-tool-catalog.ts","line":2}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.ts \u2194 types.ts: \u0060src/config.ts\u0060 and \u0060src/types.ts\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060972b2ccc\u0060 fix: re-entry/onboarding continuity \u2014 session ID resolution, greeting\u2026; \u00602504d817\u0060 Phase 8B: re-entry live enablement controls (env plumbing \u002B preview a\u2026; \u0060116d1b29\u0060 Phase 4G: belief promotion pipeline \u002B compaction telemetry \u002B README r\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8ca62fcc97c111c3ed4124e2e7548b5b8e44680ea8f5d3772d7a58bdce1256"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return \u0027neutral\u0027;\u0060 also returns \u0060\u0027neutral\u0027\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7476c98d1f1a73c42b815f253c1fb3202aee1cb45437ff774224630b7ec7f542"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f3c40cf4f449225fa4f69efcfeb70a3502052e48b56abb97ffa20cb2ecf268"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a548b24308c54801ef22d1cfed602e662e74373a544d5285ad9bdfe8b603e24"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060requireOk\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/embedding-provider-client.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f74e58896755e369a6332128f06bbf6158655dd0b04f9f16bc2b4d5c18caa8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e010667ef7d0f532605bb071e510c23e597f89e0ab7de4a2d004de8b5cc4010"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060cleanup\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e96101a6132ea9e61370315a049b38154c34809494806514b617d4605fcd0d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-model-updater.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbf8b17c7f9f71848d1d88af65a5780cdfb2cf4cba9544b1c605e1a2d10d57c"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060docs/ARCHITECTURE_DECISIONS_2026-07-10.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 15 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b563a8af8f33331841590d081a3820b469619e03d8124cb02c05511658658ff7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d2b58b25798f1861e9858c588de652cc37a9d00b671302d1d8d20ebca67060"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 45 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"519cc8a7e7bace9725c78597fd11536b661cbf00878c5f556a398e0a9680c71f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 74 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aae812f1b0a7444e5cd34c5b152ed2331c04d34be2afc0762612a31c68f2908"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 119 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbb2b7ff2e5715fdb41093ef751fae72aecd52e423441355819d0f0428887fa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 126 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8fbd0b9a18abbe2d1f4f33b36da2e430f28173a063cc5c4504ec414e176daf"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 146 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b75164052c2914e122545fd8a6a06b5d6ef4acda5519f3e9403adb321ae384"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 162 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"791e953a5378d210fd9bcf3f947a8093bcbb1cd7a95eca18254c112287a23a56"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 173 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd9c7c4d0eb2d39ddb63b3c21408f9721529e8ea938c09c2d620e3674ba3f1c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 183 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"908ab006d71a0009cb94cc9349fea9dd28f0ce9a3687c0e687bfe9ec873eed6c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 207 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c2fb5821cdfa6b9eac11ae3ba2adbcc71619e21570a119f762d06cbbfdd5b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 220 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7e09da529726309dd8d64b294d1d219c4b7e25ab83bbf4f8ca1a3d302819dd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 221 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96dd322bb4798776163856b869e256ec676de48978ba6a65c3b9c2ace12493c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 222 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd7ac73665670cc11c4f836cbce1fd6ea79f52f9ebd432d2f8bbd8feecdf592"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 224 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"effe012c403525babb9013f359048c8d7349ea4b733889c54c441433d3a2b0d3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060verify-compactor.ts\u0060 reports through \u0060console.*\u0060 at line 227 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"verify-compactor.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9639a0ec5f0606e5e3b1c56525d9f1f64d30af79ce86445849e9086396dda6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 20 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de0d5dc84dc66117942c305cbd24ff719ea844e271c4ac17ae6042bd921f2b4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cadbfedb6d2299d56f236e845ee06a21e268d2e4958ac608440d7b77d14b98"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 30 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf108205a8601d102049577c37ed1827e9fba0127c4cdccb46805a70883f27c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3262534d003283ddf76540da862d810adad2bfebc9a98d1f2acbfb32302d556f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 34 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec61d4ff059dd3c2960501c3f0386aa5a74ddd0d5e45c171b4ca3604878f9ab2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8171166e4e4bfe15601ef5f6ec74d33549ab906f0ab48319134ad3b0842e32dd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 36 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee425f1f32197d25b2cc2db8c6f516f6f480ced3ad37988871ee6fb3757858f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 37 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84af65ff9365410f3e951b97e39890bc5d99637c2f4e5e9180669b9e37fed1b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 42 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cb0a261bd7fbdc3100d0f6c3765f2cd0a1d2007921072a350d7ab7ef048957"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cec478a6e7e1e9314e54e710db70dfd28cb96c7e96a9c48b945b24697066095"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-checksum.cjs\u0060 reports through \u0060console.*\u0060 at line 47 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ce6f34bc530cfe4672e283cdbc045fcf8fafc0cf74cffc7d3cdf96cb98cda6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-migrations.cjs\u0060 reports through \u0060console.*\u0060 at line 48 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d396902a57768a59cf92c197f2008a7d866d4717c96d7b2402b3489c9004a9ed"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-migrations.cjs\u0060 reports through \u0060console.*\u0060 at line 51 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee6c90a87ba200a375bc085f743a7f81a5f4f3c1446dac73b93af4e1b3d0d4e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-migrations.cjs\u0060 reports through \u0060console.*\u0060 at line 56 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"234be8fe97831cc08ca0f3aaf4e8282761d44d8b5e5f3693fef5bd32e859b819"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-migrations.cjs\u0060 reports through \u0060console.*\u0060 at line 58 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a2515f49b8807da881c78a55c544eaa4537c7dbc8a32860d12ee5a200a0050"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-migrations.cjs\u0060 reports through \u0060console.*\u0060 at line 61 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"862bcf36ef2065224b2826c955a6d8614c36f44eef169ec22aea91d4c44d4320"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060check-migrations.cjs\u0060 reports through \u0060console.*\u0060 at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc2db77074eb376a37c573b416cf527dd7f649b333f66f615d5c9240f9d296f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060test-trigger.mjs\u0060 reports through \u0060console.*\u0060 at line 5 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-trigger.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c13cfe2201a516c0c2a99b8422f6cd24c74508e1e75e32ce2f4f193b0b08624"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060test-trigger.mjs\u0060 reports through \u0060console.*\u0060 at line 7 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-trigger.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca701274790dab508cc7172b5c256ed30fea083c91c5b56740cf9cba62a4bbc4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 94 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/logger.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a833be1fbe5514b5767b02b4c4875b575e5066de509e78f3d6f942ef697c8b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 99 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/logger.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"88beaa60b000a1fcdb07bf6d6afd38d4c6cbcce10cbc4fb007b8718c6470e79f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 103 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/logger.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7327cb3db136b3fc597ab18b2215679621b45b2f934978416aef3fabfc667ff9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 116 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/logger.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2077b999c13616668c18bd67174b2c81ac4ede2438e45281c0fec7888f191d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 128 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/logger.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ffda54150dcf78a99772b13388fcb994016f123f270bae81d8254aa3cecd61"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 11740 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060provideProjectContinuity\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":"src/agent-onboarding.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29e9710ed45ab34f5c5f4d640b7f8cc68018f2154aa7bd7006e62ee6f775e69"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060provideProjectContinuity\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":"src/agent-onboarding.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24141f6fb80eb5c242d37f6faf2042c7f7d6dc7b8167c5e62a7a975e6e616c8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060provideHandoff\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":"src/agent-onboarding.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"4739213863b76420585e967904e28e22a126a7de6239fa97591636d83b07df0c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060provideHandoff\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":"src/agent-onboarding.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"00660db39f841443331c44c794ba65072e7968061a2eb222f1fc54952d237ccf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060checkFile\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":"src/continuity-resilience-report.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2a4478c262b01fb8d666a7f8e2d1b91d12c0f8906450b54f87dfea04094148"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060checkFile\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":"src/continuity-resilience-report.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4004e609b44dd5630645a93fe094d90418850a0b460d26e5ea99ef2dcb0e5ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060collectDocsFreshness\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":"src/continuity-resilience-report.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a223bb08db1ec59cf8200133df3db47d45d326b71c2c487ca2f5fc6a486d5a73"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060collectDocsFreshness\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":"src/continuity-resilience-report.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f30a9990d09a22a28e47bf04448477cbc142887aaee626e7f49f7ea31be405"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectSqliteDatabase\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":"src/doctor.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94c233a6a64704237c88630f13b215e41548508b27caab132b9a634d6443a6b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060writeOnce\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":"src/stats-writer.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30eab568d76170b46d48b489caf4ba1b881761eb559ad76984068ccde35708e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060writeOnce\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":"src/stats-writer.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e91a7ea197601ae61c15d28fded418044b3a2fc18d866932d4645b9de09636"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060writeOnce\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":"src/stats-writer.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdc599ce37c24cea18e5b90427669cb1b4f27401bad7e10bef6d4d6761ec528"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060writeOnce\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":"src/stats-writer.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd001de74886448dba64c4d4fb437203124a58f2c3f9b7a27a1afb94c858b22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): scripts/merge-conversation.mjs:6 \u00B7 scripts/merge-procedural.mjs:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 821 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-conversation.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4df07164de1074a2da17efa7025c08108e6ca5f51487c262239853b3a4cdfe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (112 identical lines \u00D7 2 files): scripts/build-claude-plugin-release.mjs:1 \u00B7 scripts/build-codex-plugin-release.mjs:1 \u2014 these 2 files are line-for-line copies of one another \u2014 112 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-claude-plugin-release.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c019a5dda8a0877ce6023c28335831e0fd8b07be4a1abb62c9f0b21025249152"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (112 matched lines \u00D7 2 locations): src/agentbook-state-projector.ts:31 \u00B7 src/agentbook-summary-generator.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 788 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":"src/agentbook-state-projector.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89773b61e1bd4c3376af6d9222f9624ce045bd9c35b0513d637f77f48d03ff9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (112 matched lines \u00D7 2 locations): src/archive-superseded-duplicates.ts:34 \u00B7 src/archive-tiny-junk.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 766 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":"src/archive-superseded-duplicates.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca4d38aaa4c2ee6e9f6e594ba000ab7e226434576109cc033bd32e2c34aac09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): scripts/verify-claude-plugin-release.mjs:23 \u00B7 scripts/verify-codex-plugin-release.mjs:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 741 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-claude-plugin-release.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ad3dbaddc5363e6475d5b0f9c8af05b7fecc081615aed0f80095fa9b5e766e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): src/archive-candidate-report.ts:57 \u00B7 src/memory-governance-report.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 716 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":"src/archive-candidate-report.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3708c80ea3929912721aeba781b1f3fd164b99fee117c5d08f55942b01bbc576"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (71 matched lines \u00D7 2 locations): src/reentry-layers-secondary.ts:7 \u00B7 src/reentry-layers-state.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 612 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":"src/reentry-layers-secondary.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"70122873d9f5923fb6d8c24752471fad4acf5a2266e998c94084cd6ddecefaa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): scripts/archive-superseded-apply.mjs:5 \u00B7 scripts/archive-tiny-junk-apply.mjs:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 527 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/archive-superseded-apply.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d2a3445650750ba7844c90fe40c1fbe2e45c9419da325b168430b664ef8d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): src/reentry-layers-foundation.ts:18 \u00B7 src/reentry-layers-primary.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 361 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":"src/reentry-layers-foundation.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e23c7522eb4a343760b0b7c60dcd244c5c919df8b2c304ee59593de3434e414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): scripts/quality-score-apply.mjs:11 \u00B7 scripts/quality-score-dryrun.mjs:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 380 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality-score-apply.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d89b9aaa6bbbfd12dcf1e94fb8310bec47f8d2091c848e1747bfb0873d9628"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): src/belief-promotion-tool.ts:20 \u00B7 src/belief-promotion-tool.ts:103 \u2014 the two spans are one implementation copied and then locally edited \u2014 486 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":"src/belief-promotion-tool.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b43b74bd6bd9a4d8616a74b7608d522112cf5975539d3c89e165d5b3c2f1689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs:6 \u00B7 plugins/cross-session-memory/scripts/launch-mcp.mjs:6 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7408ab7facb4c4af81eaf6c0b87abf70cf6074f29e5b27f9a4fd43951ebe39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): scripts/build-claude-plugin.mjs:13 \u00B7 scripts/build-codex-plugin.mjs:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-claude-plugin.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d646292d6f0ad7f39e4b26a8384a32c2c9e55f6f298203186b99597f4d17038"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): src/reentry-contract.ts:36 \u00B7 src/reentry-types.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-contract.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc161c6d85e55c50d372ffe60cb4481bc650b51897235e22824d155da5e56f29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/git-watcher.ts:147 \u00B7 src/git-watcher.ts:282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/git-watcher.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5681cde7e388bbb5a789eda452dba39696bd8b40e86e6d29c9a48b835ad03cdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): src/agentbook-tool.ts:43 \u00B7 src/agentbook-tool.ts:140 \u2014 the two spans are one implementation copied and then locally edited \u2014 223 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":"src/agentbook-tool.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bb0e5c5d2697929871d83d7e1800f343a2fa82d124bb4c40b38fd21944f57c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): src/decision-registry.ts:51 \u00B7 src/known-debt-registry.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 173 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":"src/decision-registry.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046235309a5f2516fc0ac4176a550e8faa37ea7a353e22a45bd5e3a8a341666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/dedup-detector.ts:107 \u00B7 src/dedup-detector.ts:138 \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":"src/dedup-detector.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8e056988baa80b1a2ab3b35969e9f87ea937298e6c82e266037503880fbd93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): src/memory-manager-base.ts:595 \u00B7 src/memory-manager-base.ts:679 \u00B7 src/memory-manager-base.ts:818 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d5cfd36228dc7031d93bc2175303ce5ab216022fa8fff2a69aba4ba8ab6ab9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/belief-scan-tool.ts:70 \u00B7 src/maintenance-tools.ts:216 \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":"src/belief-scan-tool.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb88dd7660549524cd8641ec032517a6f58a91e615d0e451907d1d49d68e53ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/stats-writer.ts:70 \u00B7 src/stats-writer.ts:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 139 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":"src/stats-writer.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebdb0b6af21da8c11146c7936b4560cf3ba48e96382908ac2007f25d4721de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/candidate-generator.ts:258 \u00B7 src/candidate-generator.ts:364 \u00B7 src/candidate-generator.ts:405 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/candidate-generator.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c094d66016bd763ead4a4ef39a2d8c6c847b07f388de4993922badcf50c70a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/cli/hermes-hook-client.ts:53 \u00B7 src/cli/native-hook-client.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 217 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":"src/cli/hermes-hook-client.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfdf3241f0f4344ed6ad68cc4221e98d375a544cf91fe1b2782bc48f0c47e37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/coordination-persistence/transaction.ts:13 \u00B7 src/coordination-persistence/transaction.ts:32 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/coordination-persistence/transaction.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"79442663e8a3231b9dbff9cb31a742d39af98451736186dc1852a2cd01b3a0b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/agent-onboarding.ts:399 \u00B7 src/agent-onboarding.ts:439 \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":"src/agent-onboarding.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b425e3ea319501887378f0a7048c38a42e1d36fd7696c610f88a8d41c4670e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/maintenance-tools.ts:96 \u00B7 src/maintenance-tools.ts:194 \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":"src/maintenance-tools.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce803c278797ac531987720c8497b5eeff503d6dfe4dbbbbc8ac83ed00ebc13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/dedup-candidates.mjs:35 \u00B7 scripts/dedup-transcripts.mjs:47 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dedup-candidates.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f69de473f83099de047d6d429c9e9af982b59cd12561cb75cf93500d4416ee9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/merge-dryrun.mjs:87 \u00B7 scripts/merge-procedural.mjs:77 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-dryrun.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"da89b4d0e143141b2d4f0e4b18c605a7343f4e8b250144df1bbfd9e7f3d65e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/agentbook-event-store.ts:55 \u00B7 src/agentbook-state-projector.ts:33 \u00B7 src/agentbook-summary-generator.ts:35 \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":"src/agentbook-event-store.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e01d21fd914bd1174c87916cbf7dbb8b94116ed10ed53c002333ef0c06d65a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/coordination-persistence/errors.ts:2 \u00B7 src/coordination/errors.ts:17 \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":"src/coordination-persistence/errors.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"103603bf86a3907a94175bc68b3dee1211ef630781eb0765c8c47fde1a7ca3b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/dedup-candidates.mjs:65 \u00B7 scripts/dedup-distilled.mjs:97 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dedup-candidates.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a358d510ec20cf302a7e39c56c53929bce679be5328d9d7ed5a669197936ef33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/belief-promotion-scanner.ts:217 \u00B7 src/candidate-generator.ts:128 \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":"src/belief-promotion-scanner.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dbf70f3d0fc56a67d212ba5b93b980bc9f861095465aeafc9b71f770813f3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/hooks/tool-execute.ts:181 \u00B7 src/hooks/tool-execute.ts:197 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a24f9d6cd4fd4f040fbb19f80058834a9cc01e5e859e0b7e77b5dc0346f50d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/memory-manager-base.ts:149 \u00B7 src/memory-manager-base.ts:393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bc8e767002caabcaf71c6b78bdb3fbeb3edfe555bc1a346ca98d9938efc7fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/reentry-layers-state.ts:24 \u00B7 src/reentry-layers-state.ts:53 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-state.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0da6476be0aa89d68dcadaeff292d9685f3a47bf3041f1025e4729096f9d6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/tools.ts:540 \u00B7 src/tools.ts:568 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7219f769aed29cd233d4fb006397cf0a38558d853fd8d4082186796f16f32d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/tui.ts:132 \u00B7 src/tui.ts:155 \u2014 the two spans are one implementation copied and then locally edited \u2014 160 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":"src/tui.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ae80f60a1aa128f0827293fff1122b9f1942f2b5d9ac6d253bf8986c7a62bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/archive-superseded-duplicates.ts:183 \u00B7 src/context-injection-logger.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/archive-superseded-duplicates.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f3ae05885e88189e889c49f3300d396a29e93ad8a857e051f7529045c4d447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/archive-tiny-junk.ts:282 \u00B7 src/context-injection-logger.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/archive-tiny-junk.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b013b848ca584a8eb9b0b4919f7962577e766640c7784fa7754a49bfae6ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/checkpoint-markdown.ts:26 \u00B7 src/checkpoint-markdown.ts:40 \u00B7 src/checkpoint-markdown.ts:59 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-markdown.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b8c36a34afcab8ae570e6a397033e8bf5aa8c2c81346d5da35d9978b62d0d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/codex-mcp-tools.ts:181 \u00B7 src/codex-mcp-vault-tools.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-mcp-tools.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62d6728fe8622e383fd4ed047d9296874927b7350d5340f241d79e85922c323"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/compaction-quality.ts:174 \u00B7 src/self-continuity-generator.ts:201 \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":"src/compaction-quality.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ff13aee45640f3eee8ae12f897249c82b92397771186a96c1aff769270b1b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/continuity-resilience-report.ts:955 \u00B7 src/reentry-ux-tool.ts:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65e7329e07b71a9608ce25c67b0641bba6469672e3b6a8ab113a0111afbfe65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/file-context-primer.ts:137 \u00B7 src/milestone-tracker.ts:215 \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":"src/file-context-primer.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a62b93ebc1e6db1d2942ddfe879a86ee7c060ab22fbd767c9a3f80cbedd0f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/hooks/system-transform-live-deep-proof.ts:21 \u00B7 src/hooks/system-transform-live-deep-proof.ts:41 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/system-transform-live-deep-proof.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6854b25eec45b15b830a3285594d382bc06dc1b1d81daa27f78cf6b9548dee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/self-continuity-causal-thread.ts:274 \u00B7 src/self-continuity-causal-thread.ts:294 \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":"src/self-continuity-causal-thread.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb05eb76ddc7e46de3836769b90d955f399a5c50f5d604a85318b49df1256f32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): scripts/dedup-candidates.mjs:9 \u00B7 scripts/dedup-distilled.mjs:12 \u00B7 scripts/dedup-transcripts.mjs:8 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dedup-candidates.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"82437c9bf6ec09bade5ebfae8b65ac975c5d8660b254a7c0058cdfd6a70f9674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/quality-score-apply.mjs:162 \u00B7 scripts/quality-score-dryrun.mjs:63 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality-score-apply.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0c711b4ccb2bdf12c12c519f637ddcbcd6b6b23151f11f91939f39b10be800"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/validate-claude-surface.mjs:78 \u00B7 scripts/validate-claude-surface.mjs:121 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-claude-surface.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fdcca55cff427f313d871b91174c3d047e3e718e5dc8984b3933fff8974cf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/agent-onboarding.ts:185 \u00B7 src/agent-onboarding.ts:323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7765ee80c62b738fd864b6f03e9ea06a0ca37fbd64671c62dc73d83ece5d63fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/agentbook-event-store.ts:169 \u00B7 src/agentbook-rules-store.ts:149 \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":"src/agentbook-event-store.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3f13c677280d40ebd5f32a09cc398f84dab1d504564212465f99d1754c6f65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/codex-bridge-extra-memory-ops.ts:136 \u00B7 src/hooks/tool-execute-memory.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 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":"src/codex-bridge-extra-memory-ops.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7743632c0065f9485f79c335534d93d0df24c9382d631fb76b69c84ab218d465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/decision-registry.ts:107 \u00B7 src/decision-registry.ts:158 \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":"src/decision-registry.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6a7cc77e35b6f98ea6cbe166d53b63f36bd85ec60ec45db187e39f3714cae8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/merge-dryrun.mjs:61 \u00B7 src/merge-tool.ts:172 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-dryrun.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e736230609b2c1e3f0e874c29b96507c952825c01cb17731996b7cd75711336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/agentbook-event-store.ts:258 \u00B7 src/agentbook-summary-generator.ts:300 \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":"src/agentbook-event-store.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eba0887f94fdf3e1ec32b7701dfab5cf48f2576cd95ec2f972c406a13f9260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/archive-candidate-report-tool.ts:43 \u00B7 src/memory-governance-report-tool.ts:52 \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":"src/archive-candidate-report-tool.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8225f23ee2cfbf6e59dd03af8a78ace2bb45f26e506248c16c23e8be6921b7f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/belief-knowledge-store.ts:206 \u00B7 src/belief-knowledge-store.ts:242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cb07e2d1c36d3531558428c8a17c530af46bb93480e0ac9b1ad16c33e9d553"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/codex-mcp-extra-tools.ts:171 \u00B7 src/codex-mcp-tools.ts:107 \u00B7 src/codex-mcp-vault-tools.ts:27 \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":"src/codex-mcp-extra-tools.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdad5d1611a36c607c683fb63adf132d21a0b4a45c7873e835f3f646da5ff69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/context-cache-store.ts:132 \u00B7 src/work-ledger-store.ts:41 \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":"src/context-cache-store.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd8767fc5b468306799153412a5ee3fd079bc8215554ad15d9122b2938af70d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/db/query-dialect.ts:27 \u00B7 src/db/query-dialect.ts:41 \u00B7 src/db/query-dialect.ts:91 \u00B7 src/db/query-dialect.ts:107 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/db/query-dialect.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf32d0e5ea93e5119e64e9d66372fa25372fc94fe43b46d97b1aeabb453d461a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/priming-engine.ts:177 \u00B7 src/priming-engine.ts:206 \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":"src/priming-engine.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d4b4e7e00b6931500e4eefd612b0f02bf432722218e3595128dfc12bb80b65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/prompt-message-sanitizer.ts:146 \u00B7 src/prompt-message-sanitizer.ts:161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/prompt-message-sanitizer.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14322f8d9029f070b87441d1ba480b70d7ce2e028e15dd959319282f10075c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/response-mode-selector.ts:73 \u00B7 src/self-continuity-integration.ts:155 \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":"src/response-mode-selector.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"861d8bc30df0542d21e60b0fbd1ddbf57596201d1a9f89219ed064f8b15f3855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/governance-status-phase2c6.mjs:2 \u00B7 scripts/restore-proof-phase2c4-1.mjs:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/governance-status-phase2c6.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6be6f15a22426a7dd2095be79ca6885f8d9fca5939cf7336d07b37a5d533ddc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/agent-work-journal-reader.ts:135 \u00B7 src/wiki-export-relations.ts:131 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-work-journal-reader.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35fbfe32eed4ae2c400bfbc4a3a7d4e643657b7485c4810b3199ecb31dfb17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/agentbook-state-projector.ts:287 \u00B7 src/agentbook-summary-generator.ts:316 \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":"src/agentbook-state-projector.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdcad7d507be84d42fd6b2cb6a280c76da1f18f22114863daa4ec1eb1f40bbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/compaction-quality.ts:118 \u00B7 src/context-compactor.ts:336 \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":"src/compaction-quality.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf7547c95cd89ee6e01621578348a6c3c8f39813a3d61f9e9f8b477e4155e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/concept-extractor.ts:36 \u00B7 src/concept-extractor.ts:51 \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":"src/concept-extractor.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1bb53a17d96027692699947011fa7490277105749f4e3e537fcfe5b1a167ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/concept-extractor.ts:66 \u00B7 src/concept-extractor.ts:85 \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":"src/concept-extractor.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b83de86e3ba13b74de43edd666eaacb4677af3fc1f9b38a932e4c156fc620b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/context-governor-monitor.ts:7 \u00B7 src/context-governor-optimizer.ts:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-governor-monitor.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e8d0014fbe1db0b5ba8958f011c896be796fb51989967abe3be9d0eda472fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/context-governor.ts:115 \u00B7 src/context-governor.ts:130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-governor.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8f34c94f59faf262a1d0fd5cc0c187c83b618cc868f117c043b12ba0aae4a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/context-rollover-brief.ts:65 \u00B7 src/context-rollover-brief.ts:76 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-rollover-brief.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad482b188139c0ddd4f69781b8244c53c00cd21281addfe8d744865c48ada940"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/coordination-persistence/locks.ts:11 \u00B7 src/coordination-persistence/locks.ts:24 \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":"src/coordination-persistence/locks.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"544f523f2936886f0980b125cb623b20699b8c678a41a83cca72da1df28d7fa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/coordination-persistence/transaction.ts:21 \u00B7 src/coordination-persistence/transaction.ts:40 \u00B7 src/wiki-export.ts:53 \u2014 the 3 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":"src/coordination-persistence/transaction.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e52b12018e7fefbe45b21435770f00666beeb78e44e6ad3d756d271bc337c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/decision-registry.ts:175 \u00B7 src/known-debt-registry.ts:157 \u00B7 src/milestone-tracker.ts:271 \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":"src/decision-registry.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7733bd2230410d10833f34810c9b425e4312c011ca5ecd2a03d72f24519ec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/embedding-backfill.ts:100 \u00B7 src/memory-manager-base.ts:1172 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 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":"src/embedding-backfill.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"987d6a0a7e274121d857924200a9e597325774519b727ba417435f9ae89538ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/embedding-provider-client.ts:16 \u00B7 src/embedding-provider-client.ts:31 \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":"src/embedding-provider-client.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6c3983c39b70c03efdcae8c802b9a8ebef25459bc6a52d9492b26af009dbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/hooks/doc-analyzer.ts:210 \u00B7 src/hooks/doc-analyzer.ts:222 \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":"src/hooks/doc-analyzer.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"683b95f5cf416e1729e781d99934f324bd1e174abfdbc335a7061072c7cbdfcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/hooks/doc-analyzer.ts:367 \u00B7 src/hooks/doc-analyzer.ts:628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c51c52745972b6e8cf63ec651904578f7898fb4f826fb9c329533703b3f8acc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/hooks/system-transform-live-deep-proof.ts:8 \u00B7 src/hooks/system-transform-live-deep-proof.ts:31 \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":"src/hooks/system-transform-live-deep-proof.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ad1ece21937ddbcec5bfd9c364c9cd32b8393fa12b671c9417ce09c181777e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/hooks/tool-execute.ts:67 \u00B7 src/hooks/tool-execute.ts:90 \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":"src/hooks/tool-execute.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebdeaf60da0b5921b984f4a89999a48803f076d94fda6d079fa9a292334cfa5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/reentry-layers-foundation.ts:76 \u00B7 src/reentry-layers-state.ts:60 \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":"src/reentry-layers-foundation.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d69ec5e31f40116533b95da51c6a542aa69fe8cdf8de8f8b8e55ea20fed662"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs:10 \u00B7 plugins/cross-session-memory/scripts/launch-mcp.mjs:10 \u00B7 runtime/launch-mcp.mjs:9 \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":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfeaaa2d71e696a2533e24cd06cd3841c2ba2b952fdcdc17863ee119e69cec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): plugins/cross-session-memory/scripts/run-hook.mjs:14 \u00B7 scripts/run-hook.mjs:13 \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":"plugins/cross-session-memory/scripts/run-hook.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40cd603637470ca986fdacafb9bbed00273b46d9a242a09fce4e3ad012aeabd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/archive-candidate-report.mjs:37 \u00B7 scripts/archive-superseded-apply.mjs:61 \u00B7 scripts/archive-tiny-junk-apply.mjs:86 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/archive-candidate-report.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fa983e5a6ca49da13e44202fe8bfe9e97a50ed9fe442785f330977394efa46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/agent-onboarding.ts:211 \u00B7 src/agent-onboarding.ts:261 \u00B7 src/agent-onboarding.ts:346 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6e6b89b47497c3208e65d45e926bd79006b665b97e35bd4b7cd1b787b6a904"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/agent-work-journal-reader.ts:135 \u00B7 src/reentry-layers-foundation.ts:177 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-work-journal-reader.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a303479a825166dc5bb1b85382ce581fd478b24f0e00e70f40eb8180bc924"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/checkpoint-builder.ts:196 \u00B7 src/checkpoint-capture.ts:60 \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":"src/checkpoint-builder.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eae0101c08ce96a062cadbc44bc797df0f6116c3cc463eda5b80522ceab457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/compaction-quality.ts:26 \u00B7 src/compaction-quality.ts:35 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-quality.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b839796955084bced02232ebe6a591d600e32c29a9356f7bec90a47de11e10d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/context-recall-selector.ts:98 \u00B7 src/wiki-export-memory-query.ts:86 \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":"src/context-recall-selector.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6b52ac3c3402ade4608e5f5720981b06c3f82e5bdc141fc0e59172770f213f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/context-rollover-brief.ts:31 \u00B7 src/context-rollover-brief.ts:46 \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":"src/context-rollover-brief.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2abd1f8ebb4e0882f24871ede960a086559536c76debde709f83634c9bee66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/context-rollover-brief.ts:87 \u00B7 src/context-rollover-brief.ts:97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-rollover-brief.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5112f5a6589029f953ee87fd51019c28b440499d1b36317a09b129d1d3a017f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/continuity-resilience-report.ts:845 \u00B7 src/continuity-resilience-report.ts:858 \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":"src/continuity-resilience-report.ts"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcbbe61ddd1ab322eac3f3ece90a35f57f1396160a5c167cdc4b58646729e0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): src/db/query-dialect.ts:13 \u00B7 src/db/query-dialect.ts:30 \u00B7 src/db/query-dialect.ts:44 \u00B7 src/db/query-dialect.ts:72 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"src/db/query-dialect.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdbe6705c6f78c9ebb3620af33de288f34e4224a6dd5dc1fe8a082fdcbb7a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/decision-registry.ts:110 \u00B7 src/decision-registry.ts:161 \u00B7 src/known-debt-registry.ts:125 \u00B7 src/lint-delta-tracker.ts:96 \u2014 the 4 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":"src/decision-registry.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc25cd1e64b49f244326bc8ed1c9e861cb8f18bbcbaed2de4c6044fe06b95ba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/git-watcher.ts:37 \u00B7 src/subconscious.ts:73 \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":"src/git-watcher.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"28283f9e735668ad17958230eb7fc7c3a4795d477dee13d11e59c8c6ad7d8b4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/hooks/architecture-doc-graph.ts:43 \u00B7 src/hooks/doc-analyzer.ts:523 \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":"src/hooks/architecture-doc-graph.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c302c2d723c5766790846a4e05d08b0987755f96e9065ba3f2b513d25a0bfe17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/hooks/doc-analyzer.ts:133 \u00B7 src/hooks/doc-analyzer.ts:143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa3efa395902cc2e4b244cf2291cbfdbd6007ba4486fea5bff5c6a77d2e7250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/hooks/doc-analyzer.ts:190 \u00B7 src/hooks/doc-analyzer.ts:209 \u00B7 src/hooks/doc-analyzer.ts:221 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b390fce21cd0bd2f7c5ac83790eb64d7a9fd5f45dadde5104f597180c975337"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/logger.ts:62 \u00B7 src/logger.ts:74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/logger.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf741201c8a4f8a295b2778075c374cbba69023b7c8a8ec2bae186e0adf1b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/memory-graph.ts:200 \u00B7 src/memory-graph.ts:285 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"src/memory-graph.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"44335d1acb1b10c29a469764048a73b3d46b859a8a681f84353844a2feb39721"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/prompt-message-sanitizer.ts:76 \u00B7 src/prompt-message-sanitizer.ts:95 \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":"src/prompt-message-sanitizer.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b35e5bd2c7ce57d5a3fe77a82c6d2cea79b7196fb49d09dc3ac0926908b58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/schema/context-injection-telemetry-schema.ts:97 \u00B7 src/schema/context-injection-telemetry-schema.ts:106 \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":"src/schema/context-injection-telemetry-schema.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e73d495d7e57ef359da5a057c077673cef4179612e71d6e305e92dd7b56107"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/tools.ts:205 \u00B7 src/tools.ts:215 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d54f1b4da16486b6112a0abfdddd3503ce38d863cda9ecef3f645b308ff925"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/agentbook-event-store.ts:200 \u00B7 src/agentbook-summary-generator.ts:250 \u00B7 src/agentbook-summary-generator.ts:275 \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":"src/agentbook-event-store.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9288dc027364d6cafd4446d7681f7a5d10f7e51b306daea78620ce6c68b9dac8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/agentbook-rules-store.ts:23 \u00B7 src/agentbook-state-projector.ts:31 \u00B7 src/agentbook-summary-generator.ts:33 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agentbook-rules-store.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc4147cf1404b5e62a91ca44aab861d077a349781bf1f2784b867f3567a092"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/belief-knowledge-store.ts:140 \u00B7 src/self-model-updater.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3246b8b8e8c7f7868aec63dd612045fb9ee981b2477cfa726a2e912eb31fc31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/belief-promotion-scanner.ts:138 \u00B7 src/belief-promotion-scanner.ts:167 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"src/belief-promotion-scanner.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6933a0a1e293c22873c64abd6c1494365cace17e9958172365515922dacb092d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/candidate-generator.ts:194 \u00B7 src/candidate-generator.ts:350 \u00B7 src/candidate-generator.ts:391 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/candidate-generator.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86700e174dae811b129961d8568099f4b2b83243ada2f7c21a84c11bfdb6d28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/checkpoint-tool.ts:96 \u00B7 src/checkpoint-tool.ts:139 \u00B7 src/checkpoint-tool.ts:161 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-tool.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"801a86696dee2428df7145ad732f4a4dac1e47b304901813ecbd62018d13c661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/codex-bridge-lifecycle.ts:56 \u00B7 src/hooks/dispose-hooks.ts:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-lifecycle.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93dee963f45f44b0271630ce972230c824ce824cd6d32e6b88ce3fdea7fab3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/compaction-telemetry-audit.ts:622 \u00B7 src/living-state-tool.ts:74 \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":"src/compaction-telemetry-audit.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f22f7c6e3e189733b7c1cce54043e40709d17935b2bcbd67f8e8715a83b3399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/compaction-telemetry-audit.ts:647 \u00B7 src/compaction-telemetry-audit.ts:656 \u00B7 src/compaction-telemetry-audit.ts:665 \u00B7 src/compaction-telemetry-audit.ts:674 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"646a75b9905b53f5cf9016cd78398ba5697f3f83c0a27d4b9220dbb53870af0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/context-cache-store.ts:84 \u00B7 src/context-cache-store.ts:153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-cache-store.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce137f5fb94d51a09e474587c7eb6dc83eb8285603004182a1a8a55085f1ba4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/continuity-resilience-report.ts:808 \u00B7 src/continuity-resilience-report.ts:833 \u00B7 src/continuity-resilience-report.ts:872 \u00B7 src/continuity-resilience-report.ts:884 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9438fdeb3dc9f73dcb68883bf0d2844c26d33b00b58fb29dd07c41e30c56ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/coordination-persistence/claim-operations.ts:33 \u00B7 src/coordination-persistence/completion-operations.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":"src/coordination-persistence/claim-operations.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c8eaae5324d28c16e542532b78597d1a69b82e1de23faad8344cdf656e60e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/cross-session-causal-store.ts:85 \u00B7 src/self-continuity-generator.ts:438 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cross-session-causal-store.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9709d8ceeb9b3b8ca621a7de418f1c635b7a3fff44e38fd3bf53a5c1ad79148f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/doctor.ts:269 \u00B7 src/doctor.ts:294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/doctor.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e928a2638f5ef44d15041cb33e4cdfb6bde0e465215e271ee01ba092cd7a1800"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/experience-packet.ts:364 \u00B7 src/experience-packet.ts:372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/experience-packet.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fc65ec8a69a82bde90bcc7d1f75fa4bb34afdbd4ed6b193b30defca7a3ec0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/hydration-depth-tracker.ts:53 \u00B7 src/hydration-depth-tracker.ts:64 \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":"src/hydration-depth-tracker.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"355d8c4b7244542b3f756d90321b94c93a1fe7691fdeaf841be7120d00ce9ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/recall-quality-tool.ts:570 \u00B7 src/recall-quality-tool.ts:757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d1f28c6042e48d84d14421036b2c238e13b7bd8d83ea9f107b0a892e4b957c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/reentry-layers-foundation.ts:177 \u00B7 src/wiki-export-relations.ts:131 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-foundation.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8962d42d72930552b18288e059c8400d11cc155ea347ed7671b01949322826c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/reentry-layers-primary.ts:24 \u00B7 src/reentry-layers-secondary.ts:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-primary.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64770961e455e644027dad60a170b81fe6e945dc159ffb7c8368359a15d0827a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/response-mode-selector.ts:46 \u00B7 src/response-mode-selector.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"src/response-mode-selector.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b98a52d6d0b4c07ca2d256365545a6b81fc6279538c149ac2e0de2814311eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/work-ledger-patch-paths.ts:19 \u00B7 src/work-ledger-patch-paths.ts:29 \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":"src/work-ledger-patch-paths.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d5b38365b81b363c7f567cd44765d3505eac29ccb349e4178f3cd56e850730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/checkpoint-builder.ts:121 \u00B7 src/checkpoint-builder.ts:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-builder.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f121b55334a5dd8761af8f50d91503f914659df6f054f59a3cee750304bb84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/codex-bridge-extra-ops.ts:89 \u00B7 src/codex-mcp-tools.ts:181 \u00B7 src/codex-mcp-vault-tools.ts:38 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-extra-ops.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7789a45cf69d30c77f2fd848b65bd3177763c2ca4b9be9bd0c6de991d71f4c4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/codex-native-hooks.ts:232 \u00B7 src/codex-native-tool-catalog.ts:126 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-native-hooks.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffe8a7098c101097921cb9ff82b1751cf989be223bbf5896e7f3f530886b6d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/context-compiler.ts:494 \u00B7 src/context-governor.ts:98 \u00B7 src/hooks/messages-transform.ts:172 \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":"src/context-compiler.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b885e048023cf5f28b353829f31bf728497869d6652569f564a80dfb208d823a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/continuity-resilience-report.ts:190 \u00B7 src/continuity-resilience-report.ts:250 \u00B7 src/continuity-resilience-report.ts:364 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5818e03a903cc5e2e48f0ebfa3f027ba6514d918d8cbe4256cb04fdd6202a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/hooks/system-transform-live-deep-proof.ts:39 \u00B7 src/hooks/system-transform-live-deep-records.ts:67 \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":"src/hooks/system-transform-live-deep-proof.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e24de6c2df572144330d3cd231f1304df202d6ae97d97762abd4c78259be5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/hooks/system-transform-live-deep-records.ts:12 \u00B7 src/hooks/system-transform-live-self.ts:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/system-transform-live-deep-records.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a9ff7d8f0fdde8d44eb3269f6e88ae75ce825d4400ccb709ec3a53339ffa75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/hybrid-search-ranking.ts:57 \u00B7 src/hybrid-search-ranking.ts:90 \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":"src/hybrid-search-ranking.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f308adef986a5c5b88e23cce7ce384ee3d1a535b3941f97de9eb19d2fa87419d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/hydration-depth-tracker.ts:78 \u00B7 src/hydration-depth-tracker.ts:102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hydration-depth-tracker.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"732c2601d6dfd9699193ec6baf57f086fbcc3f8eb2c3ffa573b89e284c6ba2d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/internal-state-deriver.ts:50 \u00B7 src/internal-state-deriver.ts:59 \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":"src/internal-state-deriver.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"35007826e5e2d89103961907a141e731365846c7194453c834c90928150dc666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/recall-quality-tool.ts:652 \u00B7 src/recall-quality-tool.ts:753 \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":"src/recall-quality-tool.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78fc82fd0961872f963b0dd539e8ce319bc834f1a83dc2fc1e22c8c7ced2dd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/schema/agentbook-schema.ts:141 \u00B7 src/schema/context-injection-telemetry-schema.ts:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/agentbook-schema.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f915728ccb013f67a4ff9b42343c2f7721e1746b9745c6124e7a0d026954802"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): scripts/archive-candidate-report.mjs:18 \u00B7 scripts/archive-superseded-apply.mjs:13 \u00B7 scripts/archive-tiny-junk-apply.mjs:19 \u00B7 scripts/quality-score-apply.mjs:19 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/archive-candidate-report.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf710046386970e6435beebbfa75041d8375b98177048c6df7922a63e60bc535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/agentbook-tool.ts:105 \u00B7 src/hooks/tool-execute.ts:165 \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":"src/agentbook-tool.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7665edc6623fa3155434a1dab5be43a9dad1f0b9b6a91e320e9f4ae161aae8e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/codex-bridge.ts:118 \u00B7 src/codex-bridge.ts:126 \u00B7 src/codex-bridge.ts:138 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d3e05bb010152d5d5c2e1a7b1029e64ffd144ebf21fc32d9e81da3caf288e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/compaction-analytics.ts:24 \u00B7 src/compaction-analytics.ts:38 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-analytics.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"38774bbfc99bfa7ca8494dc93ec21484ac1b5c2c8fe6ded7dd273a60239438b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/compaction-telemetry-audit.ts:346 \u00B7 src/compaction-telemetry-audit.ts:360 \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":"src/compaction-telemetry-audit.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d419d020d4ffa9adbb0d589b5247a16012ffbf12222ad32b346d734a60f4e94c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/compaction-telemetry-audit.ts:392 \u00B7 src/compaction-telemetry-audit.ts:417 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-telemetry-audit.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc00005386fe72be3d18aa051cf70225be9584dec646989fe8e398aea40cf39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/compaction-telemetry-audit.ts:583 \u00B7 src/compaction-telemetry-audit.ts:617 \u00B7 src/living-state-tool.ts:72 \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":"src/compaction-telemetry-audit.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"10776c9b61dc1081b10035ac37797062d426e44fd5fcdfe8f4d53e9a59ac5b7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/hooks/doc-analyzer.ts:294 \u00B7 src/hooks/doc-analyzer.ts:301 \u00B7 src/hooks/doc-analyzer.ts:308 \u00B7 src/hooks/doc-analyzer.ts:315 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ba35b98b60b8b857a0232109f641d7c4867aebb524ea018e048e5a6321bfc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/hooks/onboarding-injection-guard.ts:30 \u00B7 src/hooks/reentry-injection-guard.ts:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/onboarding-injection-guard.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e250a67cd2443d82e34fdddbe2c603a4841e8176bd0160a1fc975b15514f13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/hooks/session-compaction.ts:19 \u00B7 src/hooks/session-compaction.ts:82 \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":"src/hooks/session-compaction.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb856b45f0a80c742f1ec81f125a1bcd3e0a4f731c357d98abceb62e45990bec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/hooks/system-transform-live-evidence.ts:55 \u00B7 src/hooks/system-transform-live-evidence.ts:102 \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":"src/hooks/system-transform-live-evidence.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ee49daa6bd468e9bbbb4b44b9f737aef29d95b105a293f6d66e9284fd7fd26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/hooks/system-transform-live-self.ts:10 \u00B7 src/hooks/system-transform-live-self.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/system-transform-live-self.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2885b89d490c83c40360eadf9afed5c044e7066e438022a7a6f2b1ea78a5d0c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/loop-signal-detector.ts:133 \u00B7 src/loop-signal-detector.ts:165 \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":"src/loop-signal-detector.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"32194c962c224edd8f95a9e5837aee95ac85d3f29898bbf85d7ed2de92174d27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/memory-manager-base.ts:1128 \u00B7 src/wiki-export-memory-query.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e973cdffa078156c667f6fd2f32fde97c58234fd9a45cd8fd921e73d840a429"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/backup-drill-config.ts:59 \u00B7 src/database-runtime-config.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/backup-drill-config.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb79e4bf2920c8117b5000015a3ff5f05d1ebb2e2c52aec1045ddfeffb587f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/agent-onboarding.ts:632 \u00B7 src/logger.ts:176 \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":"src/agent-onboarding.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bb290dcf54136ab9fa6c698645131d5a722acdc8b473a4a3cb96b0cc465961"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/context-compactor.ts:194 \u00B7 src/context-compactor.ts:408 \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":"src/context-compactor.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a0d64d1086616c6a2d86e1f9da3b06e28f30f45246d599fbf14180be67b173"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/continuity-resilience-report.ts:254 \u00B7 src/continuity-resilience-report.ts:368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"470dc7bb6f26f06efed1d8fa31819fd81f0b02dbc1f9978c7c5fbdbe3be26000"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/coordination-persistence/assignment-operations.ts:24 \u00B7 src/coordination-persistence/completion-operations.ts:21 \u00B7 src/coordination-persistence/workspace-operations.ts:45 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/coordination-persistence/assignment-operations.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06dd8d842eba21f75a160f926360d0542cc8f9f87bcaf7e11bab13fb3f2b3a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/db/postgres-pool.ts:24 \u00B7 src/db/postgres-pool.ts:37 \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":"src/db/postgres-pool.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63e52305d0a485c23ce716cf27d52b737d8df4700db3e53c29ae3409daa6b7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/hydration-depth-tracker.ts:58 \u00B7 src/hydration-depth-tracker.ts:69 \u00B7 src/self-drift-tracker.ts:37 \u00B7 src/self-drift-tracker.ts:53 \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":"src/hydration-depth-tracker.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"13344c4a46cf363667b25c117213273132f9e2d44972ddc7b866892f345ec576"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): src/recall-quality-tool.ts:404 \u00B7 src/recall-quality-tool.ts:421 \u00B7 src/recall-quality-tool.ts:435 \u00B7 src/recall-quality-tool.ts:447 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"src/recall-quality-tool.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5419337e54d82e9bdd6be13e8947fe45277036bb8f9bb7ec2b5cf2b1bfb294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/recall-quality-tool.ts:486 \u00B7 src/recall-quality-tool.ts:570 \u00B7 src/recall-quality-tool.ts:757 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d92855138baee34000fea85a2af30b67c632a2b978d6c9b474750dda97219c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: check-checksum.cjs:2 reaches into another package with a relative path (./node_modules/pg) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3970bfec77fcddfc5e76ddb63b37b5b1bb7af7201d49fa522a8ce92367959225"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: check-migrations.cjs:1 reaches into another package with a relative path (./node_modules/pg) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f152def1514b10da662a6e2088be9fa61a418bc10edc663e52d07268282362e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compact (cyclomatic 68, cognitive 127): compact has cyclomatic complexity 68 and cognitive complexity 127; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compactor.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2e64f31ae851328124ecbc172bf35631b03c8830eca08124a08af89aa777a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provideHandoff (cyclomatic 67, cognitive 124): provideHandoff has cyclomatic complexity 67 and cognitive complexity 124; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-onboarding.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cc069c07d6e139865a4d2063a18445b6fc4554c47a9ecd44ff98108a6a1b2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatReport (cyclomatic 57, cognitive 93): formatReport has cyclomatic complexity 57 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425899325724fdeb6ac938c3815a3dbedb49b450f1a7c9d2e7e982afdce6df0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRecallHealth (cyclomatic 44, cognitive 62): collectRecallHealth has cyclomatic complexity 44 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2049901c20ac47fd01a42678aba9c4ad7cfc0ed2129f0d10e2e69dccd72cf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeChange (cyclomatic 42, cognitive 49): analyzeChange has cyclomatic complexity 42 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"312188190f491c13725f50e278edcfd93407aaee4b7959f03e42037d9e35e422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveMemory (cyclomatic 41, cognitive 55): saveMemory has cyclomatic complexity 41 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"25327006c85ff6aadd599b2c914c775a3571e382aeb03e422cc5e027abe3bd34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordExperiencePacket (cyclomatic 38, cognitive 58): recordExperiencePacket has cyclomatic complexity 38 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b040f6c9cfd8961c64bc4c9baa162f00cc4d482363a25053ed1e35b8cba4a9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consolidate (cyclomatic 37, cognitive 95): consolidate has cyclomatic complexity 37 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/belief-knowledge-store.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f81941e9fd7c71903e30d4f925a5da957afba1919575c07c597cbe1cdace318"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMetrics (cyclomatic 37, cognitive 35): collectMetrics has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"be628b30b1bfa897384955bfbcb982adb604048403161e3464b276f26536eebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 55): (anonymous) has cyclomatic complexity 36 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/messages-transform.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f66ca53623b892f849253443c7aef846cada4a26d5843d4e122519e9895505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyPart (cyclomatic 34, cognitive 45): classifyPart has cyclomatic complexity 34 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b36a6e1babac1feb5f6922bf4f5e3c4f5c0862c479d8a9ab9dedf090b4307f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flushDocUpdates (cyclomatic 31, cognitive 48): flushDocUpdates has cyclomatic complexity 31 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/auto-docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4faccfb9f8d001ebb97c8d9ee0fb1254983ef8ff40a11e503f3fd4fb05687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invokeCodexBridgeExtra (cyclomatic 30, cognitive 29): invokeCodexBridgeExtra has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-extra-ops.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a3e41d04183af478a6c7d7798b794ce09394a856405f0713912b8c45a42035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchMemories (cyclomatic 28, cognitive 33): searchMemories has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"376de44ce3050e44c5047cc493a808b2b17376304fd1ba842c0ec9dca58c7eb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveInternalState (cyclomatic 28, cognitive 30): deriveInternalState has cyclomatic complexity 28 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/internal-state-deriver.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1473a3c46504361e005650c28c17fcf0afffeb5f8c406bb60b06ef6c3082ed80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listMemories (cyclomatic 27, cognitive 37): listMemories has cyclomatic complexity 27 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/memory-manager-base.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b020d523cba5434ae6ceca054a30d35539e0779ba71e9fec8a09db9829ca82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferToolIntent (cyclomatic 27, cognitive 11): inferToolIntent has cyclomatic complexity 27 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-work-journal-format.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad56ff9d6f0675dea1f53e4e0ba92ad209600ebf08b72ac5a4c7d5b002765273"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function optimizeGovernorContext (cyclomatic 26, cognitive 47): optimizeGovernorContext has cyclomatic complexity 26 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-governor-optimizer.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f797bf77446c98f9c38b5d5007ec9f871e1c7ade01ed187e81948cab350982"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSystemHealthAdvisories (cyclomatic 26, cognitive 30): collectSystemHealthAdvisories has cyclomatic complexity 26 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"864535b229184063233aaecebfd33e5e032a90c7160f990cd408b3fe767f3262"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compressToolOutput (cyclomatic 26, cognitive 20): compressToolOutput has cyclomatic complexity 26 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compiler.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a86c0bdbf7e9355ff4d8fa308af47e3f343420c8e79520ab3c8a21af6d5d2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/continuity-resilience-report.ts: 1289 lines of code: src/continuity-resilience-report.ts has 1289 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":"src/continuity-resilience-report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcce4e7db3440732ec8bcf5e47d1f51c37256b617e40673c67800b4fdf4445e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/memory-manager-base.ts: 1166 lines of code: src/memory-manager-base.ts has 1166 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":"src/memory-manager-base.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75084ffc960cf562678be34b220c7eece36eca5e68f236f18ae59808a1472961"}},{"ruleId":"R3","level":"warning","message":{"text":"src/tools.ts: 965 lines of code: src/tools.ts has 965 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":"src/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ff11d5c019299350bb2bb63bfc9625bf4ff57785cb4685614427eb28f198ea"}},{"ruleId":"R3","level":"warning","message":{"text":"src/agent-onboarding.ts: 896 lines of code: src/agent-onboarding.ts has 896 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":"src/agent-onboarding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39f20c1cd9f112e1377cbe15ec2444fa81175cc386022978f92994c5e3641d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/types.ts: 839 lines of code: src/types.ts has 839 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":"src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff7ad888daea14046ab552209989db7ce06611b4bba0a37f6ec076390b7e3d3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/recall-quality-tool.ts: 795 lines of code: src/recall-quality-tool.ts has 795 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":"src/recall-quality-tool.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85707c934c8f675ed0d8bc6108b32a01564b7e335035e5f58930333d90fb3a90"}},{"ruleId":"R3","level":"warning","message":{"text":"src/compaction-telemetry-audit.ts: 624 lines of code: src/compaction-telemetry-audit.ts has 624 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":"src/compaction-telemetry-audit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c11855737a13e1f5438b9faf13d51d297e6786da3baffb2af39e91bc8cc82b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/doc-analyzer.ts: 603 lines of code: src/hooks/doc-analyzer.ts has 603 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":"src/hooks/doc-analyzer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3173b718c1c9ecf104801156cad02a0a459f104727e569387c218344d8130b79"}},{"ruleId":"R3","level":"warning","message":{"text":"src/memory-extractor.ts: 550 lines of code: src/memory-extractor.ts has 550 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":"src/memory-extractor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e7838e9d58aa8c91b03194e85a5430b1652af860e3d62dd4bef07915f1962"}},{"ruleId":"R3","level":"warning","message":{"text":"src/context-compiler.ts: 516 lines of code: src/context-compiler.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":"src/context-compiler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ede4f9d554a0d4d2328ea9140837ed8e5c3b372ae1fcd6e0a087d0fe8dd9471"}},{"ruleId":"R3","level":"warning","message":{"text":"src/context-compactor.ts: 465 lines of code: src/context-compactor.ts has 465 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":"src/context-compactor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec1d6a5e063190c9cd1b64f60ef68007d763b7848a5da70b49bd969ff12c28b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/tool-execute.ts: 456 lines of code: src/hooks/tool-execute.ts has 456 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":"src/hooks/tool-execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb75279804bcd422cd10068ca9c2808441d9c9fc80a3d55c6f84d2b4a13dca33"}},{"ruleId":"R3","level":"warning","message":{"text":"src/belief-knowledge-store.ts: 445 lines of code: src/belief-knowledge-store.ts has 445 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":"src/belief-knowledge-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa29d989d6c4ebb8b3a000915afe4807cf9e9998ef8f9ec7ad26aadcbe21ff4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/belief-promotion-scanner.ts: 440 lines of code: src/belief-promotion-scanner.ts has 440 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":"src/belief-promotion-scanner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33d049de300df1eb14265c9820ad62f45a8ef9b85ea5f0c3c568487ef97dc90"}},{"ruleId":"R3","level":"warning","message":{"text":"src/doctor.ts: 430 lines of code: src/doctor.ts has 430 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":"src/doctor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0aade898107cf655e31c6c1595f9ec2ac5d6b0acce63a8b07815d8b26c2f88"}},{"ruleId":"R3","level":"warning","message":{"text":"src/redactor.ts: 423 lines of code: src/redactor.ts has 423 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":"src/redactor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2b6221b35c0d9809d317967b00e5312cfcfac7039416690f00661de1315cdb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/candidate-generator.ts: 420 lines of code: src/candidate-generator.ts has 420 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":"src/candidate-generator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d0d7e983ad66ab995fb661e30323e97b54ccff6880c753a1100962d8ca5551"}},{"ruleId":"R3","level":"warning","message":{"text":"src/hooks/auto-docs.ts: 413 lines of code: src/hooks/auto-docs.ts has 413 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":"src/hooks/auto-docs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2217631ee1fea5e357fb3afe01239921d59a35f5f8686c613f5e5f711d4db25f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/self-continuity-generator.ts: 403 lines of code: src/self-continuity-generator.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":"src/self-continuity-generator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8936f9129d14f8c4baa9757827ac7e9bb75a8bc1dc5a5ef2e0ec739ca47594"}},{"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/restore-proof-phase2c4-1.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d941655349b8f141981fb1169f8156ea61c6b09fef1458dc338f53510afccb7"}},{"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/governance-status-phase2c6.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e8ca0c37a19b10525baa0076ae1ffa0c812732f0080b81dcdfd47de81eed0"}},{"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":"verify-compactor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ef330bfdf58d07b71a200b1e64e41e068fdb200f87147414b31cf2ad8f3613"}},{"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/csm-query.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bde926807e65a757fbc45a8cc366ff9e0f041a1cd09cea9ad55f4614802781"}},{"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/quality-score-apply.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2016274fdfebcd7513a1e32433a2421745e3d97dbc053aa78578e91df72fa4"}},{"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":"src/reentry-layers-foundation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aa2d2f6cdb96957f94b1b169b42463d864c775c174a835cf1d0c4cdaa33124"}},{"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/build-claude-plugin-release.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b8454239c9477ac182557841871f1a1fae6b96a59ac35cbcec2ab0c060d5d4"}},{"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/merge-conversation.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ef6fb9c2268429862048473064bba566bce23f6e7d45bde948f06ca2112b6"}},{"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/merge-procedural.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9787ac3d3d7bda6abf59fba5d3818896c188093f03787af4649a35076ad02342"}},{"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/merge-dryrun.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ff4f879f9380911840132f2b5da9a691eaef6207cfb5169430c20a6a138371"}},{"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/review-tiny-junk-candidates.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6626cbf2e11437500c24477e796a9abf68ba89d921d4b9dac62cdad5472f2c22"}},{"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/backup-restore-drill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac674a46055d2f4c18631c0f2537357bd817545d74704cad7e33d5b4880b1d3"}},{"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/quality-score-dryrun.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"555e752bf2ea724db3f858f967daa0eb32d16225938a10ee2fd554c7caf40088"}},{"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/dedup-transcripts.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8c214a574c96625d0edf86da67dbf41acfa66d79eea4eae0366edd80d47d7e"}},{"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":"src/reentry-layers-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f40c67fea4b30807e7a28459cf11a428dfa349fdccd54d557f44bf819ce227"}},{"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/archive-tiny-junk-apply.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9583d54e26ad7159b89f6477affb2806e11bcb2b4c2373e43157092b6b6d8bb"}},{"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/dedup-distilled.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ec1a4a0bb5e4e326f132394c3bf4285d9239b7cf4d829ec29dcf41f77369f8"}},{"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/merge-smoke.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705836aa9eb9625f77da7550cbe572e231c910d50d3c7f210bdf12067ced3107"}},{"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/backfill-provenance.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fec7b0a6801767b2a7425365a5d65fe9b8ca567ac9db566e1164eac3e914f4"}},{"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/csm-audit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9598105ff15dca77895ecc0bd388ba50e1a8924de8ad62463ac09d6d5192b5d0"}},{"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/backup-drill-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"077525b3530e25e29636d688a0aa1ea35d645379a51b68d8c8d486bd79cb2bd1"}},{"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/archive-superseded-apply.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d29b421b730731407a4fee67072271c2ac24a89e96d745f53bbbcf044982cba"}},{"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/dedup-candidates.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e26fa9a8b86aa10c4e434db5a83c43f7d22500e3d51511747999959289658e3"}},{"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":"src/cli/hermes-hook-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8f7d632cfc4ea00e02da942ab34c10978a4423ce34c43a4a31183bc3d464ce"}},{"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/generate-sbom.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08571642cd5185aed5efdd937a13f8b17f22a9856fa17650098be0142be7059"}},{"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":"check-migrations.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5d9ca32ce543f350d46d5e470805ee849390f42695a7621030323818f248b9"}},{"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/archive-candidate-report.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8f7881e202d5e493c87032a7c4dc07dcd0d47e827cd25f05e3faa2b9c9af76"}},{"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/build-claude-plugin.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c596cc86d0b10d21eff5b2a17ba844c28a285b8fd674feed3d162fd25ebf19e"}},{"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/build-codex-plugin.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a6e535b036bcf277012749a4cb417fb0013b3a73d2e9e93752389675c96b25"}},{"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":"plugins/cross-session-memory/scripts/launch-mcp.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d9b86288658c2ec4fc62ec0bd8425ce1011c597a154d46017977ca82b455c0"}},{"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":"check-checksum.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ace936c8899e6e0849feee2a97ea8b2f2fa964d1669fbadddca67f5f71571"}},{"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":"src/compaction-tracker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65224a789c263111cc9839248af8bfd6273d932c035d5397421805a360655a1"}},{"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/csm-live.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"303d6ffbcad15c5cb9da4f55a547e2dba5c1e86164ace05e76877df478cbb4b7"}},{"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":"src/hooks/work-journal-inject.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d81599475fb32e47d471f5bed93576002c7662d708cf2a7b5a65b8715f7dc0"}},{"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":"plugins/cross-session-memory/scripts/run-hook.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0078ee391ea773d2ad8a0ad5730e82a8680055356e60ce73f7ede8e0bf838a6"}},{"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":"plugins/cross-session-memory-bridge/scripts/run-hook.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35a4fe12bdb7895c0cf61c7cd2b7d11b013311c75e0f267456b1a1f1704dd52"}},{"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/init-db.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c86ca69f6fc0c160cc2a7527aa3e026ea35f4775fa2f1eb687b9628bde3cb44"}},{"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":"test-trigger.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09baa86e26fa6281c5891b6c52f8ae783a2885f61d1bc7988797635920265a02"}},{"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":"src/cli/claude-hook-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e418c71aefcdc349e9c50e1709bad1a1b7111b7fa0f25164c3e0d0f5bf5e9074"}},{"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":"src/claude-mcp-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"397bc0328f4d3ddbdac102c8980fa02b9ce4e3cbc91a1f34f6c3f206baa53707"}},{"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":"src/hermes-mcp-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75dc24fdb3a9f46a73e907e73b0b406f58994f860889d240307ef584d361b73"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~238 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/governance-status-phase2c6.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"667391c8461f22ef8b9c7861bd9ac82b0e5b44290b829d8c6955ab10066882dc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~193 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality-score-apply.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1936ff3eece09736b915cce6210b3f59210bbff370e509fc0ec32e7d694e6b7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~189 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/reentry-layers-state.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-foundation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0568ca13c104dd98310c90501753bd9ce535ac5d924bbfc7a9d7cd3e7fda4c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~170 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/review-tiny-junk-candidates.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c435a8cbfc7f34075825eb266e7dcc0ac4263c55c022d72a4f80c6e5bca405"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~119 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d94cc9c489b6ffeddf918513a98d30d4834590e72096d3e8467ec35764ecb1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~106 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-smoke.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3941cf9a2c3f5ec684ddc8bf758e624afee16935211fa2205bf4ee456b0035f9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~98 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/csm-audit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39205102c17b93810e3ca893823edd52b359b1b02036ad958cdcb35c9c495f2b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~83 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/archive-superseded-apply.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff0f22b3bcf564c6bdaae3effc768f4886255157fed861628bc29810e70712b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~68 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-migrations.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"588195067b4485fcad542deeb7aec214cbaa92e47f615424925de4876832c755"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~59 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/archive-candidate-report.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d8db7f16ab212b71e976654dd590c21143e269030007f23ebec28ca491efa1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8b9a82abc9826a21338fd5bc13cc2f062d133e61da41f11114ecbae83459b9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cross-session-memory/scripts/launch-mcp.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"374a971f7ca0aebe72da599977e24613a11a66955b88ad91ee8442549267e951"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~51 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"check-checksum.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cd57bfe12ac14d70a091bd84cf9dd30ceb94301b64a8b2e3cb56bb80488d49"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~44 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/behavioral-growth-tracker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686a0844a2a698fa18f08c0bd92bd32ef26781561c46da35215c0742a0a1437b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-tracker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b7f03513d6cc9d3820d3cd0a3fd4c7be18f1d68e5e3cb2ef04112bc852cbce"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~39 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/csm-live.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3319bc62862a22e33300f8ff10de907b384318a8cba8e2614f0cb7ef931505"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~38 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/work-journal-inject.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a575dec2ecc7ff1ca4e6ee6caccff2b53ed01d3c10c0780eb7137124712d3a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cross-session-memory/scripts/run-hook.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3672089022f4c73a7e9a484896ae67909ab36581592a8f42861b1f15b8b32f2f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-hook.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99b5bf7b70c6834e43b059f8974dff481538dea9d229ce67fdb28b1cf25b679"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cross-session-memory-bridge/scripts/run-hook.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"952a9432a14c0212c7308b6cab8c24bfeca45e3d5fff32b9085401373103c998"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/init-db.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cc5b90184fe8524240cc1ca8312e2a787ce1182a827e935a208e3cd2c7c363"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/coordination/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d771fcfe97b6228415288ea5c18fe7e4dfed9cd80a4951bbf2079ff08b9980"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~7 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-trigger.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1293d48fddab69935a46c6dd243a7eb6fafc5a23bb19688f841ee1dae83a44"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/claude-mcp-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16409c96e4291c89ea362cb3cbecb7db2cb27ac6fe179096c1ece6b5a40afdee"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hermes-mcp-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb63f10903a161efec1669293c9ce1c9a05104a20c44a37290948fd5d12ec22e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (125 application, 11 tooling, 227 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/trace-vault.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7853f4565b617814c4ddbe11071f43af276494638b7a3b5f5559bde69771fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getRelatedMemoriesOp\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bridge-ops.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8722f0573e5c560558fa377f612986d6921a6b6904b947f4e1041ca15d9b44f1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getClientIdentity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bridge-provenance.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42169334fbbf40bd45b960218680008c67007a98ab94f7580343869d81b5257"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CandidateStatus\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/candidate-generator.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"165b872225ba4b784055dda50db45020c5f65c32d5660cd0b54cae0552b614d9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027logCheckpointExpanded\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-telemetry.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2007c4057294a349cc7aae488fc3bdd5c5206edb9760ef6c7fc8e1564d8ad68"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027logCheckpointListed\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-telemetry.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06f7fa90366d2b4228dc1018591c179e8eed66c453f348614d30a09062003ff"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CheckpointTelemetry\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-types.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0956f0e62f599e620b2cacced441713606b2bafb0de459f49e2e6febbd1bfac"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027startClaudeHookRelay\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/claude-hook-relay.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4500a8e9c8b36597d7d8e14cc2a15d337a6dad7a673a1e47684e9ef24d185ae1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027contextSearchOp\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-extra-state-ops.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd5fae0b38bfb09de74f1188ff7279365e3289cdcc06aff0c906ef53e51d682"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EXTRA_MCP_TOOL_NAMES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-mcp-extra-tools.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d168b785335fb2ad4541202c1d1bc97d61aa7b172662c6899d8e7d519229dc68"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027measureCompactionQuality\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-quality.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563b98eab648ab1e905cfbc363aa04003b0710723637680dea00fbd76ae7638"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027adaptiveWindow\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80323304b07445016a85f89cae1df71b9f4a83700685c4ad887c901b0a97195"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isRecentEnough\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f5ba150bafb4435393026621bad8bceebba613a8db04c70f4bbb29c6912a21"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027collectToolParts\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d301c62594fca1ffa6d46ed90ff4b4f6d24aa454ab8d0bdc05235d1da71a6af6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractCriticalSignals\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c67a82890f8b3dc233b3fbd88465415b3dec393c4e2b1c2b1bade7be1759b7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027findMatchingGroup\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c17d699b61788cf5a1f051bf71d4636f6cf9e906f2389b3ab7d06eb92716c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractFile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0337869d8b642cff4f37cc7355f0aa4f67a728ffc060ecde1fc461ea9f451ca5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027truncateInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91d59d108444373ca3a5608f332beef5aa4051ffe8f9431ec0dfecb74ce4193"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027measureTotalChars\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compaction-utils.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40f4d5bb8ea44718aec103f1f26784f10c0f1410fd5a3142f4487d438870699"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027detectDecisionIntent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-cache-signals.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe8a4a0524d1f7afdbb5c4767c9c9ff68a77fb901e4b5f16f033c8f5c4743df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createContextCompactor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compactor.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ffa32095c3e70e626f1f6040c38c0af5ff6fd8f90fa39dee9ba9765a4b1287"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027logCompilation\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compilation-log.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"541323abf9b262895de60888fbe113a2a6a801503b648401ea69be5643669836"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCompilationHistory\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compilation-log.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8c82b93325a5210771b606bb599e985e08f98252010e09c552dd7418bfa297"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027pruneOldDetails\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-compilation-log.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd570dcec71bb3d4488ae652ee6aeaaed4b733be028904d61d81602fc25215a4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027jsonContainsParam\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/db/query-dialect.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec759d56516e1e1f98575025c5116d844f2488de477d5efdb064ceaab98f0d6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_FAILURE_TRACE_CONFIG\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/failure-trace-types.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf8471785dc61845d740cb7eefc1153560d77a7f79ae8b12cd265092355aa91"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ProvenanceAwareContextCompiler\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/native-system-context-integration.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c712e9a89d0f14ff1b2faa896892ab2e6ecf72f08ffa3e5cec36867ac9675bf3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027nativeContextIntegration\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/native-system-context-integration.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"622d79c64088f553dd0a0f2a2389152291d8f303a63a2f4e38082f237bf5e29a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AutoCheckpointFn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugin-context.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab6614b62484682f2067b50add9dfe21fef4fed2b8809f3555d1d9f0b5a4393"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027mockRecallQualityAuditReport\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea17dd0d09b078abad091cbf3434d7e1e76158ccd9f77acb4142a35cfdc5df4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027REENTRY_HEADER\u0027: Nothing imports THIS copy of \u0027REENTRY_HEADER\u0027 \u2014 but src/reentry-types.ts:3 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep src/reentry-types.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-contract.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49f30fa65051c229ff8bd80cefe1d21ca571497b90947032466bd08cae1f785"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LAYER_SPECS\u0027: Nothing imports THIS copy of \u0027LAYER_SPECS\u0027 \u2014 but src/reentry-types.ts:96 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep src/reentry-types.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-contract.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f16444f5aa227742d986eda0f54c352532e50b5b433348ff2b2ccb8d3b9c26"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LAYER_ORDER\u0027: Nothing imports THIS copy of \u0027LAYER_ORDER\u0027 \u2014 but src/reentry-types.ts:107 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep src/reentry-types.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-contract.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb05023c25e6570a1704a1e205e61392c4218957f351dc1c2e4e0b05dc29ef6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027estimateTokens\u0027: Nothing imports THIS copy of \u0027estimateTokens\u0027 \u2014 but src/re-entry-protocol.ts:30 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep src/re-entry-protocol.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-contract.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"322cfeb5fdc219cd6cf2cceeda1a5901ab087ff15d2a2d37e09806c75b8b471d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SelfContinuityDebugTelemetry\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-continuity-types.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc2d8d9b40105385ff7b8c46a045a16cbee6b3f5c7c8355510680743eb41026"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_SELF_CONTINUITY_CONFIG\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-continuity-types.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3689d55e2cd17540bf712b153cdb4a90d8df5d4bceff8c6ee17d2db13ae8858"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CsmToolName\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tool-names.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed7943f1bc0bb0a5bd92e287dc22162f84bda026de72ebdc674559ce039d8a7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027memoryCandidateListTool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfdcecf251d06e3eb3786af918ee08d78f5f7660c65c6c68db1698607aca565"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027memoryCandidateApproveTool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd3d843aa7871bc0c564d61998e691719289c378c6087fbb19d4a2f4c50331"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027memoryCandidateRejectTool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e2cdf80d5c36b291a7304a61d742e69219c5b475246546858b282e3484194f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027memoryProjectListTool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e508b0761c5db8ff9baaeeb53bcd767167bebe637c6730cc49de7f69350561e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027memoryCleanupTool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tools.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f8ee89131dc6ee716230b16620747e216812a9cb6b63b35d7ec271a1df3d25"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DryRunReport\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wiki-export-types.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5829d72a40c3d4d20a0500a79ab8f4f24058a55bb079e7eb01f8f40b2e57f19"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027memoryTypeLabel\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/wiki-note-renderer.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/wiki-note-renderer.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wiki-memory-note-renderer.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b2be7d0bc29dd17ff2b84677a0cc6b1dc96cfb3646f8d89d6089b1da89bc02"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isErrorResult\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/work-journal-types.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"378d56440333c63736e5920f5ef1d3359ed13d8c476af0ffd335a93d10443cc7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027BATCH\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/backfill-provenance.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6928a6a66358c2ed147b5ec6b1a0f30b22ba372c5c85028ba17f813e2deb1ce"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027lastRunAt\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/living-state-runtime.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f79582d3aafa4b9271f03189b4deefd3b6ab7ed6d9b882c41b15ec1994eb278"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027milestoneIndex\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/loop-signal-detector.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9b0def263905bd87a7085b515783d1d4a9a79cdca55b873af36d9a8fdcb746"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027countSurfaces\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-quality-tool.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7515c3c2a90e6d15b324d38b389f0dbcfc05aab436e400766e74aadd798ecb09"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027STRUCTURAL_DIRS\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":"src/subconscious.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f6337e11cbb1bcd4d22d54627d77ec5d42d2f4007b2205840ae162dc0a7ef5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027extractSection\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/agent-onboarding.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9270ae507fe3d02ff634372b64306ef44d7a24f113be6f325d69066bcbf051"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027VECTOR_ONLY_WEIGHTS\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/benchmark-hybrid.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc49f5b072aec06ad39d404ee8d276aec17bba991c3e0f8c0e021f74fd69657"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027buildBigMessages\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/context-rollover.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe8b7e7ce935cb71740acfeb0233a7009622fa1ee6d4e2222732aaa176579e7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027CapRow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/living-state-runtime.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8400d64c982974aae6c00fac2bd4cdce72b736ff635ec2c0c4d4fc7fbe34db4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027AGENT_VERIFICATION_TASK\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/memory-governance.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1f050cd41173bcc3bd29b010ec8b31a3b71af14f1e0e9558107b87ccef6dab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027defaultReEntryHealth\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phase-8d-reentry-safety-report.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ae93a501a548acf8739d4c6896c6fe44d94c0a4621870f5e611ab2d1f1069"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027makePool\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/self-continuity-causal-thread.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b4c7f20dfb2d7dd6b2995bbe3873ba9703ffc5c551145e125c4664f85cf01"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MEMORY_COLS\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/self-continuity-causal-thread.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b1b11bcdb4ebdba42960f638f050ecc0954d8b0c3b2ccf7c855bbd2d9fdaa9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@eslint/js\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eslint.config.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaa3a47ae30efd5fd0d1881c8dfa6054c2ad5dcbe2f3a2c5e52c140d6dd99ef"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027zod\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-native-tool-catalog.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ff653ee04ae7db104b15ae943249f219468c5d4659652429a05d5d022f3ca0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027pgvector\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":"1659366cf4a4e83c299af54f6a8a7bdadb0601f0160af8167953dab59f09ee9b"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): src/database.ts \u2192 src/schema/index.ts \u2192 src/schema/postgres-migrations.ts \u2192 src/memory-graph.ts \u2192 src/database.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"61da911ce56398d04603c796011629ebefc4c030e0ce75c5b7467dbc5bbde7af"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/codex-bridge-session-api.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e1011d9d3d5c6c4c21837a20954775ddf6abaaab689300b9e8046c1ee5c4b2"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lesson-auto-promotion.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0cc6d82464533cf3f4bc1ac348793256e129bfcdffa3d6c5174b01a7a7f63a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(dimensions) || dimensions \u003C= 0\u0060 appears character-identically in 2 files \u2014 src/config-validation.ts, src/schema/embedding-dimension-migration.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":"src/config-validation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"791aa2cc3cfad7383664b11700f576cf48380c89358ac481b00e9864974f5c1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ctx.config.workJournal?.enabled || !sid\u0060 appears character-identically in 2 files \u2014 src/hooks/tool-execute.ts, src/hooks/work-journal-inject.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":"src/hooks/tool-execute.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fae1203bfacf0b7dc0028c8134d5ce7be846f86e1a858cd0e7d699cc88fa036"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!existsSync(source) || !statSync(source).isDirectory()\u0060 appears character-identically in 2 files \u2014 scripts/build-claude-plugin.mjs, scripts/build-codex-plugin.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":"scripts/build-claude-plugin.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d204b3f2b5e920ec40e76d6b57ffc6c9d07a69bd9c41ebebb75624b070e4e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!process.env.CSM_CONFIG_DIR \u0026\u0026 fs.existsSync(manifestPath)\u0060 appears character-identically in 2 files \u2014 plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs, plugins/cross-session-memory/scripts/launch-mcp.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":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f8beb9a1ca14ed5de02c043c7a23aac1091ef897ed6ecbc9a840975a4b2e4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 src/coordination-persistence/rows.ts, src/coordination/schema-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":"src/coordination-persistence/rows.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7af13057889f6d892242d762d7e12d76a3f6da1e207695cb5485e863663bbd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060archive.stderr || archive.stdout || \u0027ZIP creation failed.\u0027\u0060 appears character-identically in 2 files \u2014 scripts/build-claude-plugin-release.mjs, scripts/build-codex-plugin-release.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":"scripts/build-claude-plugin-release.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac630523a66bbc374cb51cefc0af62f471abbf7d5dddd7c41b613eeb6f73cbf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configDirectory \u0026\u0026 fs.existsSync(path.join(configDirectory, \u0027.env\u0027))\u0060 appears character-identically in 2 files \u2014 plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs, plugins/cross-session-memory/scripts/launch-mcp.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":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb7876c3cad11078dc64faba6907e128754df364c9eaa9c63e97fb58a86ab44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exitCode !== undefined \u0026\u0026 exitCode !== 0\u0060 appears character-identically in 3 files \u2014 src/agent-work-journal-format.ts, src/experience-packet-tool.ts, src/self-model-updater.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":"src/agent-work-journal-format.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc3980bd72751ecff0b7f089fbd8d8389cc9543b199d9b418fc048cfe28c121"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extract.stderr || extract.stdout || \u0027ZIP extraction failed.\u0027\u0060 appears character-identically in 2 files \u2014 scripts/verify-claude-plugin-release.mjs, scripts/verify-codex-plugin-release.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":"scripts/verify-claude-plugin-release.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"38650796da4eb565b9a798863de9ce815aa7e853bd78efe447e2012ec458aa0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060forbiddenNames.test(relative) \u0026\u0026 relative !== \u0027csm.env.example\u0027\u0060 appears character-identically in 2 files \u2014 scripts/build-claude-plugin-release.mjs, scripts/build-codex-plugin-release.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":"scripts/build-claude-plugin-release.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6447a5687ac43a7ed6552e1f7c63fa30268034ea92383489e2a44db97495636b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.outcome === \u0027success\u0027 \u0026\u0026 group.filesChanged.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/context-recall-format.ts, src/tool-distiller.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":"src/context-recall-format.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf42fb30e877b7883bf4a1143d69a0b3785b341027c431707f9157ce8db9819"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCompactedToolText(part.state?.output) || isCompactedToolText(part.state?.error)\u0060 appears character-identically in 2 files \u2014 src/compaction-utils.ts, src/context-compactor.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":"src/compaction-utils.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d49b1dc2e852e0e781dfbe8f903a0578d115fe9a17f133f9a3bdeb91b7e22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.causalThread \u0026\u0026 item.causalThread.thread.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/response-mode-selector.ts, src/self-continuity-integration.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":"src/response-mode-selector.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffbbfcab543bbe2542f0f81581636b54813f4a256febac7dd9c2fb6c8666b3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memory.memoryType === \u0027lesson\u0027 || memory.memoryType === \u0027procedural\u0027\u0060 appears character-identically in 3 files \u2014 src/bridge-ops.ts, src/wiki-export-render.ts, src/wiki-memory-note-renderer.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":"src/bridge-ops.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd80e36a679fd0020c370ba386d47fb9ad497ac6ec670e64d803f3a3387797"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memory.memoryType === \u0027preference\u0027 \u0026\u0026 metadata.source_kind === \u0027decision\u0027\u0060 appears character-identically in 2 files \u2014 src/wiki-export-render.ts, src/wiki-memory-note-renderer.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":"src/wiki-export-render.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dffedc4a2e36ef44714b93adb5c5d64f531ba3124cd8754d3b41c4a81aa2f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memory.tags.includes(\u0027constraint\u0027) || memory.tags.includes(\u0027do-not\u0027) || memory.importance \u003E= 0.8\u0060 appears character-identically in 2 files \u2014 src/reentry-layers-secondary.ts, src/reentry-layers-state.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":"src/reentry-layers-secondary.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f70f72220431c9788bcbffd17ff818516b1c0164f7b12fc3019080b74e4a2c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata \u0026\u0026 typeof metadata === \u0027object\u0027 \u0026\u0026 metadata.dev === true\u0060 appears character-identically in 2 files \u2014 scripts/build-claude-plugin.mjs, scripts/build-codex-plugin.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":"scripts/build-claude-plugin.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65fced77e9a2187b5a9b909020e2ab0277b16ba3f68d529c10b3ccf3689be01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CSM_DATABASE_URL || \u0027postgresql://opencode_memory:opencode_memory@localhost:5432/opencode_memory\u0027\u0060 appears character-identically in 12 files \u2014 scripts/archive-candidate-report.mjs, scripts/archive-superseded-apply.mjs, scripts/archive-tiny-junk-apply.mjs, scripts/governance-status-phase2c6.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":"scripts/archive-candidate-report.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f30eba1a4f96512e6b5ad0633e68fe592b4eb35c7caf7aea15071b596291252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DATABASE_URL || \u0027postgresql://opencode_memory:opencode_memory@localhost:5432/opencode_memory\u0027\u0060 appears character-identically in 3 files \u2014 scripts/dedup-candidates.mjs, scripts/dedup-distilled.mjs, scripts/dedup-transcripts.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":"scripts/dedup-candidates.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f874c9e6bb83e294c6f5cdc2134e734294f4b01d412d724108e53125770ab0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0027win32\u0027 || process.arch !== \u0027x64\u0027\u0060 appears character-identically in 2 files \u2014 scripts/build-claude-plugin-release.mjs, scripts/build-codex-plugin-release.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":"scripts/build-claude-plugin-release.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d9290c6dfcb895054cec19cc0b4b2d9e51d068fb694f8beb3458dc5c5aee54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0027win32\u0027 \u0026\u0026 process.env.LOCALAPPDATA\u0060 appears character-identically in 2 files \u2014 plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs, plugins/cross-session-memory/scripts/launch-mcp.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":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"370c2a37823445deec299ab79785e7f7e99b4d657ed8bfe133b325665326a3d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider === \u0027postgres\u0027 || provider === \u0027sqlite\u0027\u0060 appears character-identically in 2 files \u2014 src/config-provider.ts, src/schema/index.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":"src/config-provider.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"932008ae7c3dffd3db5a760402c00f149d713bd47a999d425a2aa200d4ac972c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.superseded_by != null \u0026\u0026 row.archived_at == null\u0060 appears character-identically in 2 files \u2014 src/archive-candidate-report.ts, src/memory-governance-report.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":"src/archive-candidate-report.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad238105c1017eb55d60bb3440c0655b9c7c2927a5d13aca370b1481d057884b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.superseded_by == null \u0026\u0026 row.archived_at == null\u0060 appears character-identically in 2 files \u2014 src/archive-candidate-report.ts, src/memory-governance-report.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":"src/archive-candidate-report.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"06349166c7dd838f01a98efb8d6d6ea97629bc5491461424beb6619f57d29009"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof manifest.configurationDirectory === \u0027string\u0027 \u0026\u0026 fs.existsSync(manifest.configurationDirectory)\u0060 appears character-identically in 2 files \u2014 plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs, plugins/cross-session-memory/scripts/launch-mcp.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":"plugins/cross-session-memory-bridge/scripts/launch-mcp.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cb8cd32de1134887c629a90b0a94fbfa8e3d2450c8f1a27bda689c7171bc74"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060requestHash\u0060 is exported, takes a document from its caller (line 4) and hands it to \u0060canonicalJson\u0060, which calls itself at line 15 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 17) \u2014 and nowhere in \u0060canonicalJson\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 \u0060canonicalJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/coordination-persistence/json.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"012718232eafc76e7ba3936d1d350c57c49bcc1dbaa2e7a362f33151db503ec9"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/4 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestOllama: \u0060requestOllama\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/embedding-provider-client.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c451d91253b3c182cef5b264183bd259cc8a9221f4e89336f1e815d26cb7228"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestOpenAi: \u0060requestOpenAi\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/embedding-provider-client.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e20c3d82d720232dc17d0c6fe2033dafeb6980ac3a1b3134a83ef367670e8b"}},{"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":"src/agent-onboarding.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75c6e5733544178096575c26b9e7f86f445ed8d86d17f2a74634506baadb35b"}},{"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":"src/agent-onboarding.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a34d997d2d0b12b07d80e6a426b86ea8e0fce69453acff6f55327ab3ece2c8"}},{"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":"src/agent-onboarding.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"c826535fd43d893e86ce5b31f0e1275f571b14dc2ff3539a30138e72adc0da2f"}},{"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":"src/agent-onboarding.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d5b3d749f81725bacedb21b7eab3aa5218164b6fc65714250e1060003c7430"}},{"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":"src/agentbook-frontpage.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"887e89c425dcfa714de65a445be8bff622f38a19760e407c9b1c6e41117d30db"}},{"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":"src/agentbook-tool.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53961ee2e9773227672ccd794f583ccb654a9a130a3386adc2555e9566d5825"}},{"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":"src/belief-knowledge-store.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4feaa0d6fc8ba4abb47a43b01ca0b290077d6a0bac857d101537ad654c39b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/checkpoint-store.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bde160945bd3801ff7fa00422380a0729e941db0046905a17021e3b75791b66"}},{"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":"src/codex-bridge-extra-state-ops.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b2e65d9a114f130d7d853749b06a30648cd8b183bf045d63ca8aa9bfc8b9a"}},{"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":"src/codex-transcript-client.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff2ebdcf569c6abe2e51846889bb6e0414652821ad7d6c8b55e2249ae01b13e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-cache-runtime.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda22b1b184d3e0d285d9d84c1a5abf0455af6f38d7709aa8d2718114961eb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context-injection-logger.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f32c680add9145f692fb449c060a7a539f75284c07f99b19d3b2ecdf1b3052"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e0b03c2f9e39327dcf4aaef29b5e51758ffe3a78ae82491608e0c3b59ebca9"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"25476ba93b85b0452ebe81b6cf10855907c8502289caaca86752f4ac49caee1f"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1b481e8e9b9b761844cd7d57d120cf1d5db8aad2a89060ff39a0be0b7224e"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"e179ccbb2ebc0a8111de9a4313f4a0e3a62ce06f8bc705284f9509abf7a26ed8"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"902de9a8bd576c801b755445365fb573251f4dc5e7afa5cc0bc461b287b1657d"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dfe2132cdf39204fce933f9decce0ff2e376d97855f291c8d191c17405fb02"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9528987c61319a4454ad9705bf426b4ccc1ee2b7063c5890f1ed50be30795f"}},{"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":"src/continuity-resilience-report.ts"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a64f56e670bdb752b544b8a4934c4bb3c6b3517381851d641c4195eddc6fea"}},{"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":"src/doctor.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26658bd16651d6c80a73a9a9c2f7763892c04fb55aafe26bc88af292b501853"}},{"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":"src/evidence-vault.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0dad02496da3e49103a40c7d80e5e0d628025d04dd11de2f6dbbed473c89ee"}},{"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":"src/evidence-vault.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b289624245135d65ba2a0099b4a51fa7ef6c1ed1558d3db4e0f02f5a647cfe9f"}},{"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":"src/evidence-vault.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3fec2e62132ed6278e40aa2b6225004a7e17c5ff40e117c8cb964dc9a911d5"}},{"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":"src/loop-signal-detector.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"07446d3291013de4025eb3ff9cb64645ce63288668f950dd8e1c2c2d7b9bafbe"}},{"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":"src/prompt-debug-log.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be2d8876e3e30978114ff7bce74b3e0447f4b32465b7648c863593c46d90528"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-telemetry.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c413e907d3c64785eb878b5e14eb1de16c67de2374d167bdd61b1dcf6d10ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-telemetry.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3741b8317233220222850886deb36227712a43617ce390c01a3b591ca1d214a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recall-telemetry.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"09841ccb927e34f17f8039cf901e4a5b4d8137c3b22fd985103d50913cdcee39"}},{"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":"src/self-continuity-integration.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bcbdb029fccbbb1457835bea5110b06a6290fc25ad6ee235eab73f7b33958c"}},{"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":"src/self-continuity-integration.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bcbe8695330498b424245381b7ef28d3e641a6aabf914b42cd3ec09e3c24d0"}},{"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":"src/self-model-updater.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1171fa62d36e6cec216207e0c3609d5772fe26a3ef1b6032be5ffb54c6a2f0e"}},{"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":"src/subconscious.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedc1741361baedc4f5cbfa5cbba1a21b25221afa69495024e51fead7fd5fd26"}},{"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":"src/subconscious.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce6ffc2938d5a4556a9b22d7c53ffb37b52f7314e04a3bd58e739d0ac312c4c"}},{"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":"src/tui.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3370c7bc8db995444fa13b9388e91d47a9155640cd14bcb2287ad6283b2cfecc"}},{"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":"src/tui.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a94029f7489f6bd0cdf9172e1f6292c1620d2e69c71fac6767b4fa9304cc730"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d479beb71fe6d41a1ec2092ead7910627e1219f80879446117b60375bae85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f11beff34f1062ca46781c58d5201fc1745ce83194b6a6d8929f3fc6dd028e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tui.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff97d24c157df327730b190f93a0ea7edc3d3cc81def11bc64305ee5002435"}},{"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":"src/tui.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c57d6c4e40eb6ed7705886438c34b62397345c778d9b926150881ba3b3a259c"}},{"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":"src/tui.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c60c1aeca3c3046a864c8ceaf5cfe0f8bf84801e5e6f5c10c1e015c750d054"}},{"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":"src/tui.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5163b100683224ed8db4727127a901e70c85a4934b94d88c1c7007a38fb3f8"}},{"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":"src/work-ledger-persistence.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3e4311b3540b6f6607eb0be6fe1a45876529ec9453871e7c6e25b46b9eaee0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/architecture-doc-graph.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb89cf54926bd124c90f0be670578415acab4f8f4224929846ea77d6150f5240"}},{"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":"src/hooks/architecture-doc-graph.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4f0945407a8d512aaad1555ffd5e463c446e0a124849be1e6a309e6883a511"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/auto-docs.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e46f9999ae7a1f536a845af7c2ae94833c7b8fcc8a553f71228649c294f507"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"127e5a951c9cd0c435ac8d847b8f856074cc0e46af704a8b5dc30340a692c7a9"}},{"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":"src/hooks/doc-analyzer.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9684c9e1a8c04b4bc245b0b7c268265a3282bea97ed6a30c86b1310cc6142c16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acaa1286bb3b7f86a7e011c22aa40ad184bff6af9f87cc2a7fc4fef4cc323ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/doc-analyzer.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca9c7a1a5faadc5e5e6c57c1e46ba29d806d380f44ad880454c1cd83dbf77e9"}},{"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":"src/hooks/doc-analyzer.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b004879136d97915267c2dbfef6d6dfcc00e50ee57be3baaceafee96a63717"}},{"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":"src/hooks/doc-project-key.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffd90da2484afda54fc1f54400627aa19f93b104d0b41e0101876ac22eecf02"}},{"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":"src/hooks/system-transform-live-context.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"03651116d72133876acc3d05d60c57cb9883f6089a0b3edace43353274dce1c9"}},{"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":"src/hooks/system-transform-live-context.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f580549d6897ca394ffddb45adb45e558e7953590b90d9322ceff86856e5211d"}},{"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":"src/hooks/system-transform-live-end.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a098b9bf1d41480a0e49bca8159d7bb497536df5e911e436a14eadf22d8d33"}},{"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":"src/hooks/system-transform-live-end.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"678441ced0f163c5b3c4dc424e4169184278afe0d45a2bbed84d956e0e23c39b"}},{"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":"src/hooks/system-transform-live-evidence.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ec3c126c0d0026fb896f9e43bd38dd6fffa9c531693fff56033131b83a07ee"}},{"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":"src/hooks/system-transform-live-evidence.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d014ad1108f0f49424a104a7e3f281d2b72daa9df362108d353b2884387f1ee5"}},{"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":"src/hooks/system-transform-live-session.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f39e9c102dfc549cafa8bc77641ebc5294d3ae11c98490767b9b6fc3dafa72c"}},{"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":"src/hooks/tool-execute.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2242d39c0a0067c329a0fed449244750d1f0521a6fd761453cd658d78435c574"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5e56eacd375774f926f3202560d0742a9930f910d25b3ab96f5142eb8fb327"}},{"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":"src/hooks/tool-execute.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae496c75edd1ede72b333745636e484cb1149f5f3bfe323f8b58567665ef2184"}},{"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":"src/hooks/tool-execute.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80858ca61ac1575a2dd85b3027fa3f9dba6113808120fde932fa9d7b9fe425"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((_err:unknown) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209f26295c1eb54a0fe4386f03db5a8ec0cdba52e16649abc72434383fe6bab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((_err:unknown) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdd447d7b21f8d0cfa0b549e9b36399abda0058e3f3d2ea935efb5f28554fd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((_err:unknown) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad501a198408e223398e88bed032b4187737e736c2ef57de49acf169365fa4d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((_err:unknown) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"41959d8f11a73b5586d69630e666b67c681e76662666438a62a855af4786a3d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/tool-execute.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"01630fee72ce84dd751fa59e1ea0539f84d507cb556148222ce4069e4519e940"}},{"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":"src/db/sqlite-pool.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af7d52c994e73af35d8673f27379adbd2c0cfb0bf4d0ddcff141df0c9b4f4cc"}},{"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":"src/cli/native-hook-client.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b384cd0ee65e0526a1e7cffd956c4231e4f839e29f1f3d4e5e975f9ddf45c55c"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) reduce the strict null checking score: ~0.4 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 21 assertion(s) across the 58658 source line(s) of the 421 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: src/trace-vault-ops.ts (4), src/context-governor-optimizer.ts (3), scripts/csm-query.ts (2). 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: \u0060parseArrayField\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":"src/db/query-dialect.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad620ccec2c39360b471b07e3fb4e7820e2a8d4b6bb54d43b0b25e299327847d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonField\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":"src/db/query-dialect.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b54191eb284fc271f9257d41c63f03db7f6b3ced776357e1adcccb48b644f4b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060tryParseJson\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":"src/memory-graph.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b2bb057f5a885461540f2f26243775fc2b126e85f7f63bbf0be28be661d77d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ftsSearch\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":"src/hybrid-search-sources.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3413f7e5cbfffbc01aef2aa221692bed5bc2742030a194dbfc88221cbd8c4bc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060entityMatchBoost\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":"src/hybrid-search-sources.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd28578a7bd5f7ff6bcf7f92a2163cc4e220b7e8b4b493b8205cfe43c3d867b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060checkNoProgress\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/loop-signal-detector.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ae2d6f64edb9ac6d6870e8245f8a6a362d3ed9d067455e69a6b0336db6e0c0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readJsonArray\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":"src/checkpoint-store.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9007cd57528eabe38aa6e06911cb14c2f0fa6a9724c4c12add00ec475cf35f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeArgsPreview\u0060 swallows every exception into \u0060return \u0027[Unserializable arguments]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/agent-work-journal-format.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"611be1735962e8630fe6e9a27e1a61ff0a5728183a81d6714fca894dc7e18bfe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseFilesTouched\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":"src/agent-work-journal-reader.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5cd20621d965aa36a417c997c69f2734dceb22d45b2155e4849980ea42354"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getRecentPackets\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":"src/experience-packet.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea029f85868b110fe8813a1fe7d3d959cae8d08c8b86e5cdf9e8adbf53b78ef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getSessionPackets\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":"src/experience-packet.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b390d2491b2d8537f73ccc01e11e34e3e7283f6af035e9e9dd2019b1a2a7cc9e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countBySession\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/experience-packet.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dedaf8e8829982ba4a35c42c7aa2036594335045bfdd7f148800087846b7872"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countAll\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/experience-packet.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37739fa357d838d75340eb9dddd7656e7428a28c0e35e9ee1195bbc0b37b30d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAllBeliefs\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":"src/belief-knowledge-store.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4af362d45a4cbb8bd0a718d4508274d208daee15bb85f7ce15f3067a0085a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getBeliefsByKind\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":"src/belief-knowledge-store.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e841cf0d9b6fb5852470302d4702c16628aff8d9bf6d91e6fc605b7be5f18d9e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadCandidates\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":"src/belief-knowledge-store.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2982ca66fcd4830e01ad1c11014c93449b397f4a05c4c60e2975da10585ee44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadExistingBeliefs\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":"src/belief-knowledge-store.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e82174778fc45e34aed75ced5d5fc7dda81cc850c3debf1965ca8b5da9c72e7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseEvidenceRefs\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":"src/belief-knowledge-store.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47ebcabe9acf39b65220f6f3e0cc5d1dd5e2ffd88c33640d4d7443326735e3a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060buildContextBlock\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/vcm-manager.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc061deaa4a4321a81efb96f04e2b21ad65c3277c484865d5c266da922809119"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchDecisions\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":"src/file-context-primer.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9e250ea3547b750c87225b80705f0d5d611bc304793be0a0df8b3cbc94f13"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchLessons\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":"src/file-context-primer.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d9bcb32116c50bab27373d61a70766163d3c8d70d9097771e6392b3ad1323e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchDebts\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":"src/file-context-primer.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cd55c48f384ad5f71637c10a7b33e164da76ba96afac9007087c5a526d1e38"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchMilestones\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":"src/file-context-primer.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c271f5babf91ea5edd4b9ed73ad5cd0ddff69e916acac670a09ed763e81dd1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readSessionCount\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-primary.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edcd59fa15c4b1f7487546a499cb3688945c808f2040d60e78e725a898edc64"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLastActive\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reentry-layers-primary.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fae87d6abf4cfdc0015365665188b206c035d89738db609d9942343a81dea2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readWorkEntries\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":"src/reentry-layers-primary.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a2913eae1c2a4fc653da3d00c277bea660df26da1485cf74316a51d1097497"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseMeta\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":"src/schema/capability-provenance-migration.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f80f0d7aefe58ee4854d722d2b1786cf698427caadfcfb02700c15145d3d2b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseFiles\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":"src/agent-onboarding.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5956d30984bc70e2655f7c5a90be42c5f703251b35bce281b872cf40d40e8b2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseMetadata\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":"src/agent-onboarding.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb30401c9d8b9f6e3958d4397c9f1020fb198db95bd1e67524f5831895f21c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readIfExists\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/architecture-doc-graph.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabdbcdd4b43685467d76866497f8e2af434c92ea26db1e8091e152e26e7a478"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readIfExists\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/architecture-doc.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fd8761cf76fff7f8eda63c14d0068a890e3e318a1a44bbb0420cb94f1bd139"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDoc\u0060 swallows every exception into \u0060return \u0022\u0022\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":"src/hooks/doc-analyzer.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6e58ac01bc4847a690a6157f56527fb1732f8557b0076bfcb063b4f263250d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchAdjacentDecisions\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":"src/self-continuity-causal-thread.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"226620ce27b5bddf7e1fea578b86d6a0abcc2a380fba11cb50ae848819862ec0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchAdjacentLessons\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":"src/self-continuity-causal-thread.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa816702bb4d96fa41e1914e00e2cf03a3f1af02586ab7ea833d42a8482fde"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060calculateSelfSummarySimilarity\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-continuity-generator.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c1ba2046be9a90019a7665e8541bd4941652a89c94fe1a9ac2abb86a64a824"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countEligiblePriorSessions\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/self-continuity-generator.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df54e6a261b4417172be313f2af19a204b7a59c9f627a05714fa99dbd20e4e0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getRecentRecords\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":"src/self-continuity-generator.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf436e78bbd684b19b0634f462cd782b955ca85f257e854364567a45a44e81a3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeQuery\u0060 (in \u0060recallRecords\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":"src/self-continuity-generator.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13c9afe48ac74a47e2d49cab6359fd72f42b72004b9bdd558e67d5f52a61f80"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonArray\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":"src/self-continuity-generator.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"218190ac765a1f68c1f33ead4cdc803c42e9ac4916e39f4db865eec1a2641946"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonArrayAsObjects\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":"src/self-continuity-generator.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b8cb0a86b6b8d9fba7cb0335e77994ced95769e97f346cb0bd2e9989b417d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060countDurableReEntrySessions\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/continuity-resilience-report.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92c9d7623323a3ac311b2be72465c2e390267fbb9c8cdcb824e07468d53c28b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseArray\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":"src/wiki-export-relations.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb246898bf6cce6f72e2a8a9284a35460535c426562ab1d98db11cb9385bd2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060messages\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":"src/codex-transcript-client.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0727544cc79eb046dc4d2bfab418564b91624a673376788e174227f935a98d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonObject\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":"src/cross-session-causal-store.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9592f9587685854692c24f22ebe926a3a92c6da80f8952e9cd34025ed4b014"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseFiles\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":"src/reentry-layers-foundation.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4186925a394bf185563a32fd2e96855a78829b19a24844f3c7e67a90b84df45b"}}],"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-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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-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-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":"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/"}]}],"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":11,"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."]}]}