{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TaskService.QueryTasks (cyclomatic 83): TaskService.QueryTasks has cyclomatic complexity 83 (threshold 15). Of this number, 77 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: alfredo-go/internal/service/task_service.go holds 2 of the 5 functions over the threshold \u2014 including the worst \u2014 and 72 of the 101 points over it (71%), 3.1\u00D7 the next-largest file (alfredo-go/internal/parser/input.go at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a25a3b89f32092f518329c158326fbeb5e7f7b30096a90689bd4a0734463e2"}},{"ruleId":"D1","level":"warning","message":{"text":"parser.ParseNewTaskInput (cyclomatic 38): parser.ParseNewTaskInput has cyclomatic complexity 38 (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":"alfredo-go/internal/parser/input.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8d79db25b967c04653bd473a6f2e74ca170bd5ef052f56dc006ea6be6451f0"}},{"ruleId":"D1","level":"warning","message":{"text":"parser.BuildRescheduleMenu (cyclomatic 19): parser.BuildRescheduleMenu has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa935a2446443a844cd8e6e24e084397bbe49939759c3e0b1912fd4f0f96f048"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskService.ParseNewTask (cyclomatic 19): TaskService.ParseNewTask has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: alfredo-go/internal/service/task_service.go holds 2 of the 5 functions over the threshold \u2014 including the worst \u2014 and 72 of the 101 points over it (71%), 3.1\u00D7 the next-largest file (alfredo-go/internal/parser/input.go at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"04581b4915c87eb4cffecfec276376d4f3b9cb5e0828f60b34dcd2e7aa4d429d"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.CreateTask (cyclomatic 17): Client.CreateTask 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":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9a793f0b82a814de80454bdc7858fcd7a29516b5efc9084bd738477039811d"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskService.QueryTasks (cognitive 190): TaskService.QueryTasks has cognitive complexity 190 (threshold 15). Drivers by points: if/else 62 (145 pts), loops 14 (33 pts), boolean chains 9, match/switch 2 (3 pts) (nesting depth added 103). Of this number, 178 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: alfredo-go/internal/service/task_service.go holds 4 of the 10 functions over the threshold \u2014 including the worst \u2014 and 188 of the 296 points over it (64%), 2.2\u00D7 the next-largest file (alfredo-go/internal/parser/input.go at 87). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b4751b531e2c7ccf3c5e772802af3ba184de2f9b03202939ced2ee28be5324"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.ParseNewTaskInput (cognitive 93): parser.ParseNewTaskInput has cognitive complexity 93 (threshold 15). Drivers by points: if/else 29 (62 pts), loops 7 (25 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 53). 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":"alfredo-go/internal/parser/input.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5dac5e73688980b18e2a4bb01df8b046426a93d2af0fc3967cf40681793e31"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.BuildRescheduleMenu (cognitive 25): parser.BuildRescheduleMenu has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 5 (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":"alfredo-go/internal/parser/date.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17799409d24b4f600a750b21188b92907210258dc36965ff05fbd0e43135358"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.extractDuration (cognitive 24): parser.extractDuration has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (6 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"5435053fa9e5b0aae54902c295c7219b1e62cec6d2a7c6d05e0f730db481b6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskService.ParseNewTask (cognitive 22): TaskService.ParseNewTask has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 3 (4 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: alfredo-go/internal/service/task_service.go holds 4 of the 10 functions over the threshold \u2014 including the worst \u2014 and 188 of the 296 points over it (64%), 2.2\u00D7 the next-largest file (alfredo-go/internal/parser/input.go at 87). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"df79a3f015426a379153486554a48570efe88860c55b5d5b19da35122c010dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.ParseLocaleDateKeyword (cognitive 20): parser.ParseLocaleDateKeyword has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (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":"alfredo-go/internal/parser/locale_dates.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28790c4abc702c817f8c7a4a1485794d78fac95fa527a1d21a1d38ead187d74"}},{"ruleId":"D2","level":"warning","message":{"text":"service.reconstructEditInput (cognitive 20): service.reconstructEditInput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: alfredo-go/internal/service/task_service.go holds 4 of the 10 functions over the threshold \u2014 including the worst \u2014 and 188 of the 296 points over it (64%), 2.2\u00D7 the next-largest file (alfredo-go/internal/parser/input.go at 87). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97a5af953b94525ea0b93a7d869c7d50a2479832795f55e28548a3cddaf9555"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.CreateTask (cognitive 20): Client.CreateTask has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 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":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd91d66a93826a63f3313925a7fa4c6657ad8fc8465f025f99f35b360ec8bcff"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskService.EditTask (cognitive 16): TaskService.EditTask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: alfredo-go/internal/service/task_service.go holds 4 of the 10 functions over the threshold \u2014 including the worst \u2014 and 188 of the 296 points over it (64%), 2.2\u00D7 the next-largest file (alfredo-go/internal/parser/input.go at 87). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"71eb55820ce6e1432c3a7371f7cac9011dde73a6dae1f6571501e095a3652378"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.ComputeProjectCounts (cognitive 16): cache.ComputeProjectCounts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/cache/counts.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d052e0ebe86ad4187d3ca83a89262bdbcddd414b47ae41abe5192fa6d43030d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskService.QueryTasks: MethodTooLong \u2014 QueryTasks runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 200 over it, 3.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a4ab3157c6034ee4eecc1257740e4df24d983af42e0aefdd459bc7a23d8e48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parser.ParseNewTaskInput: FunctionTooLong \u2014 ParseNewTaskInput runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6318dec19333b2c6d8e6c17f5d6f3b5a21e04d689e5ac01be66a7ac1e7f676c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/task_service.go: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: TaskService (12 blocks, 17-803). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd952d758b12f0e4d7e78e2e2eacd9379296ea3c6eabae1033445d4206fdf3b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskService: ClassTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods, 12 blocks, lines 17-803. The bar is 400 significant lines; this is 112 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f059a792274eb6b9541a96c276f2aa4cc32bd449bfd3787d4a1103315f8aa74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): alfredo-go/cmd/create.go:11-70 | alfredo-go/cmd/edit.go:11-69 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/create.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2e5b7606b7fc4ab8fba22c4beb8a102ee21caf48280201498ec9809942e9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): alfredo-go/cmd/editparse.go:13-71 | alfredo-go/cmd/parse.go:13-57 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/editparse.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38528501eec595e2ac601f255b6b06568bebc77107d9e72f9257523147d997a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): alfredo-go/pkg/cache/counts.go:88-116 | alfredo-go/pkg/cache/counts.go:119-150 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/cache/counts.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"13daf52bd4ad5ca178d7782a468be10ee3774ff783b379e61938e74dd6e3621b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): alfredo-go/pkg/todoist/client.go:144-162 | alfredo-go/pkg/todoist/client.go:165-183 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e50b4524f511fb2e542452a099b32ef310a2813e3963bdac0605efb975125"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): alfredo-go/cmd/rebuild.go:10-29 | alfredo-go/cmd/stats.go:12-31 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/rebuild.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d15d9a25a138a28516f3cbd052d6ada666585a52caf62043f8c57d001b6c86e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): alfredo-go/internal/parser/input.go:300-307 | alfredo-go/internal/service/task_service.go:989-996 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b410d2b826ad00cf5a24f687324164661c7eda059971e769eca144792530df7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): alfredo-go/internal/parser/date.go:78-112 | alfredo-go/internal/parser/date.go:133-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/parser/date.go:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaba7067edc1aadce81ecaa57c60be63e0d50a1e1dd8b010dd5f836664451ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): alfredo-go/cmd/editparse.go:24-48 | alfredo-go/cmd/parse.go:23-47 \u2014 before extracting anything, compare \u0060alfredo-go/cmd/editparse.go\u0060 and \u0060alfredo-go/cmd/parse.go\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060alfredo-go/cmd/editparse.go:21\u0060 calls \u0060Getenv\u0060 and \u0060alfredo-go/cmd/parse.go:20\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/editparse.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce6832777881917dd6d456ee0461abca4c68860ab77a6680fea0ea170922558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): alfredo-go/cmd/parse.go:41-57 | alfredo-go/cmd/query.go:47-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/cmd/parse.go:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/parse.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a94540d12726fcd39a8eaf8474480bef4b4f5e03944e95c9036f8947a9ca0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): alfredo-go/internal/service/task_service.go:224-240 | alfredo-go/internal/service/task_service.go:279-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/service/task_service.go:224\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"af67ccef5d0fdf2fd76cc963c762890ee0d397bdaac9e5f47b4912a65c3372b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): alfredo-go/internal/service/task_service.go:90-103 | alfredo-go/internal/service/task_service.go:116-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/service/task_service.go:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a809d0d1498a39f97551571b6f1c37959f60a12364242599f6ba126d44de1dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): alfredo-go/internal/service/task_service.go:242-255 | alfredo-go/internal/service/task_service.go:297-310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/service/task_service.go:242\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b6e4933b53db867e0631322667b454bb02c7b424c11c40a35188fe3791bb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): alfredo-go/pkg/todoist/client.go:233-246 | alfredo-go/pkg/todoist/client.go:302-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/pkg/todoist/client.go:233\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0ab1147ebd67e69a3554d9882f0289c9d5615540442b8e12863f7afa2963ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): alfredo-go/pkg/cache/counts.go:29-41 | alfredo-go/pkg/cache/counts.go:89-101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/cache/counts.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"210a65210a72949308e21e025111f090194bd0a865e200cd0b5d968ce5370a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): alfredo-go/pkg/todoist/client.go:146-158 | alfredo-go/pkg/todoist/client.go:167-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/pkg/todoist/client.go:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6bbffb21404900f3a3df7bb9cd160435cd7a82c1d2d7061f56ec38d36e6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): alfredo-go/internal/parser/date.go:178-189 | alfredo-go/internal/parser/date.go:193-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/parser/date.go:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24ae5ccf7e248aae932620647ca29c461b711d5c403b3bbc4318c8347992d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): alfredo-go/pkg/cache/counts.go:72-81 | alfredo-go/pkg/cache/counts.go:103-112 | alfredo-go/pkg/cache/counts.go:137-146 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/pkg/cache/counts.go:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/cache/counts.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9100945a4e8379c8fac1e71290af50693e3a94dd8136953b873a36f131a33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): alfredo-go/cmd/create.go:18-26 | alfredo-go/cmd/edit.go:19-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/create.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8432ea1d7b2122fe9bdd9fd0562515d5e80aa7990dc1845cd401cf7df60263e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): alfredo-go/internal/parser/input.go:104-109 | alfredo-go/internal/parser/input.go:152-157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/parser/input.go:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f50d3dc3cc1b93d808745e7f914cce686385e26e40e4d72bcd4b45de4f69bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): alfredo-go/internal/parser/input.go:301-307 | alfredo-go/internal/service/task_service.go:990-996 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9720f2825e9312c464e54e109a45b1567646b8db8dbe2969fe3c15a6df4fb954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): alfredo-go/internal/parser/input.go:309-315 | alfredo-go/internal/service/task_service.go:998-1004 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d35235279195b657b0f993aee4bb6b63ac48223b96d587d34b1e5a7de6086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): alfredo-go/internal/parser/input.go:346-357 | alfredo-go/internal/service/task_service.go:1016-1027 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc69ab03350f1d573447d53e068ff84e2811e2ed4ce7f10efb481614c8661fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): alfredo-go/internal/service/task_service.go:262-274 | alfredo-go/internal/service/task_service.go:317-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/service/task_service.go:262\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad70245ed51aaaec571a705a61a4b128b84a0ef0f780a0b6afaedcfe5b99cd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): alfredo-go/cmd/get.go:36-47 | alfredo-go/cmd/rebuild.go:18-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/cmd/get.go:36\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/get.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"323f3979d15f1dc9d4cc52b4d6bd418e6f88904e78ab13e86ef8069232857445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): alfredo-go/pkg/todoist/client.go:233-243 | alfredo-go/pkg/todoist/client.go:274-284 | alfredo-go/pkg/todoist/client.go:302-312 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad73aa7eef52cebad7ef352377d904ec7e8a9c67042cd2784e67464b566424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): alfredo-go/internal/service/task_service.go:340-348 | alfredo-go/internal/service/task_service.go:359-367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/internal/service/task_service.go:340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f430571b4448be88a55265d681fffa9e859c5cac5e238dab9dbb9aea06e4d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): alfredo-go/cmd/complete.go:13-21 | alfredo-go/cmd/delete.go:13-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060alfredo-go/cmd/complete.go:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/complete.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1218f46a0843f6d20e7e00e14082f07471dba1f1dc4b815da729eb86ac7a023"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/complete.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/complete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f51038edf9759438e1cdc892cd186c7669f75eb394dbb0006eea778e0f0250"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/create.go: 0.0% line coverage (0/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e10b477ea162a9a98a82bf4a6a93075b8b167ee68e29538c59c9c31f55f57de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/delete.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18da6629525fd8a18ed8e88a9bc44060a30a3c7f6f1e67a735fc0ba2de4fb744"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/edit.go: 0.0% line coverage (0/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/edit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed417dd62a9f936f08ce6cc9a05e91a37869f356daa692061c384462c20de73"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/editparse.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/editparse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8347987979a43aed70ae8d536ba4e80f86ed5552a69b8523c38e262d58f05c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/get.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a084b52df96a4b13b388b7d248eb8b81cc65e823bb40b6fc651eb700ebf959"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/parse.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/parse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c45fd6fdf195573e51dc0f8605351a00ee39b5f28f9972a9d953b72aaf1b48"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/query.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/query.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccdc4d599464007fa454cb1ff4e623ac7381d8624a0543e7824e07725d453da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/rebuild.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/rebuild.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8258dbe7c7ce6dd6fd360cfab581a987b40c1938601a0da3c452ad5a73f38740"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/reschedule.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/reschedule.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"becd9657d57aeda40acf541e99f87e968c2a2b0cc4680fe0418e0a8e8e11f565"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/root.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf80d0b8fef4606bdd4b62c689fcac5fc2f5bdb6721589e3273d39173d62f62"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/cmd/stats.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/cmd/stats.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbe872ea203149127cda73d50633be9541d67c4bc2be032022faa899eb929a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/internal/service/task_service.go: 0.0% line coverage (0/755)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f7e10b107885be584321ff1e02dadc8b9fad79b694831015f633d8792dfe0a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/main.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40b0536f3d624c4d35bf50dd9c5a3511809f96dabf0cbea14b53e4afffea8f4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/pkg/alfred/output.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/alfred/output.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc50f3a9175bb3a92498cfc2893221a938de9b9b543524d98812f6b0661dd12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/pkg/cache/cache.go: 30.3% line coverage (30/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb1121590065c15ceaf5fd992bd4872c0b89c5251f4df2012087b5b021c992f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/pkg/cache/counts.go: 38.2% line coverage (42/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/cache/counts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8771252d04283b7d0d249ea5a0e67ebf2e87b2ae6b257fb1211a68c7476c769"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/pkg/todoist/client.go: 0.0% line coverage (0/177)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"888ad7f9cba5f4238cd3e374ff67d5f03eb977f245bfe90762a179a2960191a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: alfredo-go/pkg/utils/unicode.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/utils/unicode.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1bb735e72d6197771b18c65ac467446c4565b58a86052f55a936679879d832"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060alfredo-go/main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc3dbdc6d8696b43aee8cba2893d2878671c6a62a5cded6023e97e552974b03"}},{"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":"11c5b48c3c1421a4fe28f8adb389acddf5e33c65dea831d61a7ae21c9747b661"},"properties":{"commitSha":"71713de18431f53421773e610dae49f3691d4c12"}},{"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":"28b8bcbba74b0ee23fae6fc7525865eb0c60a06b6992c5f150999bd51edc3b18"},"properties":{"commitSha":"71713de18431f53421773e610dae49f3691d4c12"}},{"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":"72705c307ea4ee89927ef7a558cb4c8fe745eb36f18e60bba144ce57c79b93af"},"properties":{"commitSha":"71713de18431f53421773e610dae49f3691d4c12"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"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":"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":"6a625529fec143b61b963159a72a1575d391b9b7f2ea71219fcefce2ab5a1d43"},"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":"2ed39912dde0fe9b29a342ec5cd7fd2998b3e0abc18750237b75c35371c6030f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9f461dee381bfdd0eb1359932fdc2eb718346d5324a3e1205baacf3cc4a0cfd2"},"properties":{"dependency":{"package":"stdlib","version":"1.24.0","advisory":"GO-2025-3503","aliases":["BIT-golang-2025-0913","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-22874","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3563","GO-2025-3749","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.24.1","relation":"direct","declaredRange":"1.24.0","reachability":{"kind":"production","file":"alfredo-go/pkg/cache/cache.go","line":56,"symbol":"os.Stat"}}}},{"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":"0910b10f33344c4ffdc3b9567f76665bc0d905ded316bc1104576de57e5b9844"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.33.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"severity":"medium","fixedVersion":"0.39.0","relation":"direct","declaredRange":"0.33.0","reachability":{"kind":"production","file":"alfredo-go/internal/parser/input.go","line":10}}}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M3","level":"note","message":{"text":"No tests/ separation: Tests aren\u0027t where this ecosystem separates them \u2014 a \u0060_test.go\u0060 file beside the code it tests is the convention, and none is present."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"999e0c784909c76b6346a705ee63961fe363ed1cd6a94e3f80e2ebe7820ccd5d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: alfredo-go/README.md names Go 1.21 or later, but alfredo-go/go.mod:3 requires \u0060go 1.24.0\u0060: the code does not build on Go 1.21. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/README.md"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c2c5672c6c9a7b84025b9a4a8c38045e0471d153711f9efb4a81bcaff17584"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add gosec / govulncheck (or golangci-lint) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060alfredo-go/go.mod\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/go.mod"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5493043e1d9dba5ffafa16e081812c5ebc8f9311059bc357f335220bb54c292"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 2 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strings.HasPrefix(item, prefix\u002B\u0022(\u0022) \u0026\u0026 strings.HasSuffix(item, \u0022)\u0022) \u0026\u0026 strings.Contains(item, \u0022 \u0022)\u0060 appears character-identically in 2 files \u2014 alfredo-go/internal/parser/input.go, alfredo-go/internal/service/task_service.go. 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":"alfredo-go/internal/parser/input.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0b9779e7ff9e72c705a6b6fe5fa726647cb855d6dfa5043d5f3455de4c310a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 0/6 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); 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":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: SyncAll: \u0060SyncAll\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d13c56de17fef2d84c116c9ac6fd6db86aa14ffc4ff66bc093cf4cc3d78647"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: CompleteTask: \u0060CompleteTask\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75ef0a1e52421568152a82c100b1770678e6e0a148c9ff6cfbf61e632f91d42"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: DeleteTask: \u0060DeleteTask\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1bac6faac12ab31839c38384ffed40519dfa2f042f01ce6640b09e681a89f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: CreateTask: \u0060CreateTask\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71a7631612a0a828c516c4b3c6236d070b1a0b11aeb4c4710c1dfd40a10d5ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: UpdateTask: \u0060UpdateTask\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2b9f540c46d1994a7999097be641da3e8ecbc72645143604418cc5f5f48a89"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: CreateLabel: \u0060CreateLabel\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/pkg/todoist/client.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"81df70f7de34f162a11143c317c299e6b9c737d7bb013be718c20d2517fb010e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"alfredo-go/pkg/config/config.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"51333cdd71d6283a7d55a5c1df9cd0825e34c6407e68fc735a0bc0bbbeb991cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"alfredo-go/pkg/config/config.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cdfd1603b7e54e46ab70c5c701417941ef16c6b334dfa8eca852c8368bcdb3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"alfredo-go/pkg/cache/cache.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97b22ed505c43d727a58b9cb834539596c275dc70f2c416b5724e55d509bc9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060t, _ := time.Parse(\u00222006-01-02T15:04:05Z\u0022, dateStr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060t\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060t\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060t\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc51d6e597ffbcb27b8d671d44290e2ff14b4fcde1f60d0a9fbdc1cc93ca76a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060t, _ := time.Parse(\u00222006-01-02T15:04:05\u0022, dateStr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060t\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060t\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060t\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"208f2d541f7b12deaaeb9ab8b4ade23f751dca4a7d39a29a1e7b277ec7d8f99a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060t, _ = time.Parse(\u00222006-01-02T15:04\u0022, dateStr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060t\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060t\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060t\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"10409d3f5db8f7a1f0f516facc2d17853cded0ac00bc22bdae4c387d5a0678f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060t, _ := time.Parse(\u00222006-01-02\u0022, dateStr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060t\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060t\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060t\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/service/task_service.go"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0330d891a15a7e99bea046a3e492e6d4de0c1d13d04aa7718a94171712ba356"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060days, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060days\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060days\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060days\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dcc2cdc8f3a404f50c14af14ce8621fe4885b731db3ac0876e796064a08d17"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060days, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060days\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060days\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060days\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8171261ca6ef63a8ecf5800f8055d49c150ba00fa271266fe509c4c2460e0a98"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060weeks, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060weeks\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060weeks\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060weeks\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a777f3aeb6de4428d407cb0917eca5bdb12fc6bafd13ea329e2396827489bddb"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060months, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060months\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060months\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060months\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd499b1c95b521aa270d85ada816a564eea3760d374ab2708584ff5776bf69"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060num, _ := strconv.Atoi(numStr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060num\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060num\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060num\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f89de13b7a80543f490f89a76f875e23e362b064de7143f7023b23324ef85b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060num, _ := strconv.Atoi(numStr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060num\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060num\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060num\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b905e1968b784c6d04962241f0312a5ff13d6d92614bb7edf3f5bd41dad4d3d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060days, _ := strconv.Atoi(parts[0])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060days\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060days\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060days\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/date.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c121e699119b17a54d7802fd91499f96223330148b021cbf57eb6ae211d3f50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"alfredo-go/internal/parser/date.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e5a98abcc951a346409a5ec22e670d89532dced4ac1ea63020a0e0ac0f9d1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"alfredo-go/internal/parser/date.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"296ba363dab2330100e31e63439ae6ce1d5762c81d415e2bd00c9feb8e6cbd43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"alfredo-go/internal/parser/date.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e746340141c037b09ad8aee467d72281c38a8c5609b19866782cdd987a5e16f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060days, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060days\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060days\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060days\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2ad5ad8732d0bb3cb0580592b39ffb2dae7b68f7d4f842e3b81fcd91eb0d09"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060weeks, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060weeks\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060weeks\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060weeks\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"677af27258c491da45264fe486a1dd85ac84a35f03350a7caf6148f151612de4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060months, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060months\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060months\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060months\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d907a91ef28c668ff21a77768a73fdacd667888447b5b3e8f0aff996d2c74"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060amount, _ := strconv.Atoi(m[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060amount\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060amount\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060amount\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"alfredo-go/internal/parser/input.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd587247165b762819414f2d1ff43bd3aebc57314252b3de3296d1389cbeb0d"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"}]}],"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."]}]}