{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"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":"google_workspace_cli::auth_commands::handle_status (cyclomatic 42): google_workspace_cli::auth_commands::handle_status has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: crates/google-workspace-cli/src/auth_commands.rs holds 2 of the 15 functions over the threshold \u2014 including the worst \u2014 and 53 of the 123 points over it (43%), 2.9\u00D7 the next-largest file (crates/google-workspace-cli/src/generate_skills.rs at 18). 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec4748ce18e95e280d98013c4d97c1a372c609877e78730c91fcffcf0189d9"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::auth_commands::run_discovery_scope_picker (cyclomatic 41): google_workspace_cli::auth_commands::run_discovery_scope_picker has cyclomatic complexity 41 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: crates/google-workspace-cli/src/auth_commands.rs holds 2 of the 15 functions over the threshold \u2014 including the worst \u2014 and 53 of the 123 points over it (43%), 2.9\u00D7 the next-largest file (crates/google-workspace-cli/src/generate_skills.rs at 18). 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e811627cffcaf178784e2f5513a01e2010dcaa7664b299be22ed98924a554fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"PickerState::handle_key (cyclomatic 25): PickerState::handle_key has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a35824616e8ddb92478651af129f115977f7911aae01212915e54ead7608f14"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::run (cyclomatic 25): google_workspace_cli::run has cyclomatic complexity 25 (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":"crates/google-workspace-cli/src/main.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b7966cb2cf673233d0c4549a3f29af514264d6afc745f7005331a7e507261"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::generate_skills::handle_generate_skills (cyclomatic 25): google_workspace_cli::generate_skills::handle_generate_skills has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8415b07de06fc08494f05dc4c007158b9980472211c097a38e8d9d6bd787cfe"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::setup::stage_project (cyclomatic 24): google_workspace_cli::setup::stage_project has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd03b7ba1750c4de6719126df2c6b5cea3dd7c2cb3b2d7fb8afe18d7eae4f11d"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::generate_skills::render_helper_skill (cyclomatic 23): google_workspace_cli::generate_skills::render_helper_skill has cyclomatic complexity 23 (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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fd56ba1a85bf943a13f644cb4a3eb40399cac4e3e147179dab387745318ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::executor::validate_property (cyclomatic 22): google_workspace_cli::executor::validate_property has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fb78614cf704fe253b66004e1f6a0603561c886a81bd4011d9b50740514aaf"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::executor::mime_to_extension (cyclomatic 19): google_workspace_cli::executor::mime_to_extension has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c3055b24537e57d90d8e353facd0c2c5df8f16e0539623f37c5f8286ca7c61"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::executor::build_http_request (cyclomatic 18): google_workspace_cli::executor::build_http_request has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"562568c237f34c6ff4bea37c4b82245f2cc03975871ba28f8651811250dc314f"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::setup::fetch_scopes_for_apis (cyclomatic 18): google_workspace_cli::setup::fetch_scopes_for_apis has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"235a921c38dff27228f2cbd425ffceeac1430da56364f8afa840b44bf0b11aed"}},{"ruleId":"D1","level":"warning","message":{"text":"PickerState::toggle_current (cyclomatic 17): PickerState::toggle_current has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8838a96797186dbcb6294003744022b99db44005e953b0283f34d10a20c672b8"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::helpers::events::subscribe::handle_subscribe (cyclomatic 17): google_workspace_cli::helpers::events::subscribe::handle_subscribe has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1181f535db49fef83a7e6cbbf4a6d7ed4327a64f3950532197ae263447728ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::executor::handle_json_response (cyclomatic 16): google_workspace_cli::executor::handle_json_response has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9893cc2bd15785f187c8f87586bb3360c457f104d737cfd975ef7122afcded8"}},{"ruleId":"D1","level":"warning","message":{"text":"google_workspace_cli::executor::build_url (cyclomatic 16): google_workspace_cli::executor::build_url has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f78e2dafd4796be918d1d73ee4bd1dee177459bae46e385fe56dc6283b4dda3"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::auth_commands::handle_status (cognitive 179): google_workspace_cli::auth_commands::handle_status has cognitive complexity 179 (threshold 15). Drivers by points: if/else 44 (167 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 129). 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: crates/google-workspace-cli/src/auth_commands.rs holds 4 of the 41 functions over the threshold \u2014 including the worst \u2014 and 257 of the 804 points over it (32%), 2.5\u00D7 the next-largest file (crates/google-workspace-cli/src/setup_tui.rs at 101). 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc84c6b26e99b2d9077ca893f5b20f676e9d4f16d623a426529eb9105b62ce3f"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::auth_commands::run_discovery_scope_picker (cognitive 95): google_workspace_cli::auth_commands::run_discovery_scope_picker has cognitive complexity 95 (threshold 15). Drivers by points: if/else 29 (70 pts), loops 7 (16 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 51). 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: crates/google-workspace-cli/src/auth_commands.rs holds 4 of the 41 functions over the threshold \u2014 including the worst \u2014 and 257 of the 804 points over it (32%), 2.5\u00D7 the next-largest file (crates/google-workspace-cli/src/setup_tui.rs at 101). 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb5da03e3677d6cf71b6059d190e79846220bcf4261ffa1e0b72b9ae95fbb76"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::setup::stage_project (cognitive 68): google_workspace_cli::setup::stage_project has cognitive complexity 68 (threshold 15). Drivers by points: if/else 14 (48 pts), match/switch 5 (16 pts), loops 1 (4 pts) (nesting depth added 48). 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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"920e190e91151f451924126940be5998bb35fc80b85eb3938e21a3530c9a6377"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerState::toggle_current (cognitive 60): PickerState::toggle_current has cognitive complexity 60 (threshold 15). Drivers by points: if/else 12 (43 pts), loops 3 (14 pts), boolean chains 3 (nesting depth added 42). 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":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c264e983862c11748e397c9b47adda8858c3fac18f93b708d5d67acb9aac5d7"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::setup::fetch_scopes_for_apis (cognitive 60): google_workspace_cli::setup::fetch_scopes_for_apis has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (42 pts), match/switch 3 (11 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 40). 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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"45af30154c8337d430c53b818347eb467ffe9136262d7b900a2bbf1bd70b2486"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::generate_skills::render_helper_skill (cognitive 59): google_workspace_cli::generate_skills::render_helper_skill has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (43 pts), loops 5 (14 pts), boolean chains 2 (nesting depth added 33). 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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde62a2d53c91c7b00653a511fd8d52cf73b82610332a12b131747e1f4958ff2"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerState::handle_key (cognitive 55): PickerState::handle_key has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 4 (15 pts), match/switch 1 (nesting depth added 37). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c2778e876d3a9e2f7504e50b0aaa94e3a687bc42f1e63a4c8a2a2f40fb6068"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::generate_skills::handle_generate_skills (cognitive 54): google_workspace_cli::generate_skills::handle_generate_skills has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 5 (11 pts), match/switch 5 (11 pts), boolean chains 2 (nesting depth added 26). 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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4833453a5cefd07deb11dc6a30bd61fd44e19c93b9df2523c365f1055b607a1"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::handle_json_response (cognitive 41): google_workspace_cli::executor::handle_json_response has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (36 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 24). 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":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"961205ec56f862bc06dccf0c82a1128ed8ccfa949582be37649f5df53da43a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::events::subscribe::handle_subscribe (cognitive 38): google_workspace_cli::helpers::events::subscribe::handle_subscribe has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (38 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba68f7a8af63f1df2eb800a9553b96c591e1723523c62f78f8c432f3ac0fd749"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::run (cognitive 36): google_workspace_cli::run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (29 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). 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":"crates/google-workspace-cli/src/main.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"075a5b4745ce10cbddda257291db839b280e084f3da68c5683bff22cdd372a66"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::build_url (cognitive 33): google_workspace_cli::executor::build_url has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 3 (8 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa846b7b0f2fdcdb2e57f256af52ce9db00e0c97df113a669cb272a90633a04"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::watch::handle_watch (cognitive 33): google_workspace_cli::helpers::gmail::watch::handle_watch has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (33 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"939358cd2eb462f1bb8ed76e4ec91d82fc8000d945d6071db2cb3c1b5229a5d5"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::watch::fetch_and_output_messages (cognitive 33): google_workspace_cli::helpers::gmail::watch::fetch_and_output_messages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 1 (5 pts), loops 1 (nesting depth added 22). 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":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b0366dc7d852e67d14448627ae01522e4bc69be3c812c53522ac8327443c15"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::setup_tui::run_picker_loop (cognitive 31): google_workspace_cli::setup_tui::run_picker_loop has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (30 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c41630f0280e9efb7d34d922a1afa1acebb17b0a530ae3418c6a997e68bc4a3"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::auth::load_credentials_inner (cognitive 28): google_workspace_cli::auth::load_credentials_inner has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3dd91144f7ba7c70085acf441dc9114e7c1bceaaf04cb3fe0d261255258e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::credential_store::resolve_key (cognitive 27): google_workspace_cli::credential_store::resolve_key has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 3 (6 pts) (nesting depth added 17). 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":"crates/google-workspace-cli/src/credential_store.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb261a2a6767822138b8505732b17a8843318588db33f5415051d9dab75ab79"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::validate_property (cognitive 27): google_workspace_cli::executor::validate_property has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3d2cef91fa942b744f920b2e130205b7f08ee0390cef323ca46d1cfc4b5e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::formatter::format_csv_page (cognitive 26): google_workspace_cli::formatter::format_csv_page has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 4 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/formatter.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53123e9dccf9e32dae81e819ae923d80224e8f21e45a03e79cb11484b7bac82"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::events::subscribe::pull_loop (cognitive 26): google_workspace_cli::helpers::events::subscribe::pull_loop has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dade3187034b68d5fe708608e5871dce2598f9234a48becbaf17896586bced0"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::schema::resolve_schema_refs (cognitive 25): google_workspace_cli::schema::resolve_schema_refs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (10 pts), match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/schema.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9532509442665ae9acca2fb9872d96d338fb96c7e741df20689d0dacdfd14499"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::auth_commands::handle_export (cognitive 24): google_workspace_cli::auth_commands::handle_export has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (4 pts), match/switch 1 (nesting depth added 15). 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: crates/google-workspace-cli/src/auth_commands.rs holds 4 of the 41 functions over the threshold \u2014 including the worst \u2014 and 257 of the 804 points over it (32%), 2.5\u00D7 the next-largest file (crates/google-workspace-cli/src/setup_tui.rs at 101). 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"449bc8a7c9df9a5dde6027a1e4fd0237605086767757bd0f33b2000ae4ef4984"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::generate_skills::render_service_skill (cognitive 23): google_workspace_cli::generate_skills::render_service_skill has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (13 pts), if/else 5 (10 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3b47c57cb50f89c22a7d0bb82853809e1cd51c0f0725db071631a4d63b79be"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::extract_payload_recursive (cognitive 23): google_workspace_cli::helpers::gmail::extract_payload_recursive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c81356c1f1b1c001b00ad0839d72bddd232c1b43d4e234f752d95349f4017d"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::schema::schema_to_json (cognitive 23): google_workspace_cli::schema::schema_to_json has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/schema.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ccc90daa8d9215fc8d2c999f53207a4ee4a27f7e46709db9f3b9b89c96a063"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::parse_and_validate_inputs (cognitive 21): google_workspace_cli::executor::parse_and_validate_inputs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37885d45e11e4ee27ce890f3906f2d3f53e72a2cc3e68293659f9b27937c453"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::watch::extract_message_ids_from_history (cognitive 21): google_workspace_cli::helpers::gmail::watch::extract_message_ids_from_history has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 2 (6 pts) (nesting depth added 15). 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":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db74b48353dcba25fde4c0a98ffd12cb2beec73c98525548d45a1a72a4788c"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::build_http_request (cognitive 20): google_workspace_cli::executor::build_http_request has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4122ed9f48e5f416ece98cfd0b4d84be8061ed5d5baf0755535827c40ccbd775"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::auth_commands::resolve_scopes (cognitive 19): google_workspace_cli::auth_commands::resolve_scopes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: crates/google-workspace-cli/src/auth_commands.rs holds 4 of the 41 functions over the threshold \u2014 including the worst \u2014 and 257 of the 804 points over it (32%), 2.5\u00D7 the next-largest file (crates/google-workspace-cli/src/setup_tui.rs at 101). 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b7fd8cc48f7059079732af499a0019ad73c52e184a076c9d1820effffdfc54"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::execute_method (cognitive 19): google_workspace_cli::executor::execute_method has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a655522d37fb007d556889982e25546794884f4f18349457290dd3c3032e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::mime_to_extension (cognitive 19): google_workspace_cli::executor::mime_to_extension has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc05aec2660d97797880762def04145791fa81ed3ebeb6a63aa7fbd270d5044"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::watch::watch_pull_loop (cognitive 19): google_workspace_cli::helpers::gmail::watch::watch_pull_loop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4f7e62639e07e527249b7021788fe964861d7a83b1e98b10c5425fdec98e52"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::formatter::format_array_as_table (cognitive 18): google_workspace_cli::formatter::format_array_as_table has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (6 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/formatter.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee39f8a45ed0fd77c3d1c5f43056a07de2eab7a53d60085668dc7b76bc43abda"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::events::subscribe::derive_slug_from_event_types (cognitive 18): google_workspace_cli::helpers::events::subscribe::derive_slug_from_event_types has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"905adeaff004cd8ac349088bc952c9dcef3e029ee8826b387cd0e53f3fe82698"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::resolve_sender (cognitive 18): google_workspace_cli::helpers::gmail::resolve_sender has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"11caa105015921f0519d5c43b94af2a75bb0c184418df890a7600cb2a60c03f7"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::gmail::watch::process_pull_response (cognitive 18): google_workspace_cli::helpers::gmail::watch::process_pull_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (2 pts) (nesting depth added 12). 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":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0357f5e0b90e2f74f69933efba8744b4dedd3794c5030e9aee3959053b01eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace::discovery::fetch_discovery_document (cognitive 17): google_workspace::discovery::fetch_discovery_document has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/discovery.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"005c2a9b87841478dd28d9f52db80c6b628dbb1e5d83faf2f637cc05c1005886"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::setup::list_gcloud_projects (cognitive 17): google_workspace_cli::setup::list_gcloud_projects has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d18bbbe9f2923fa548fdd6314d57580de89ae1091ac95229b2dbc83f1dffcd"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::executor::render_path_template (cognitive 16): google_workspace_cli::executor::render_path_template has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbed05995bd3278ac13a37defb3b1317253ad508204e365830c1ae47a59c1b5"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::helpers::calendar::handle_agenda (cognitive 16): google_workspace_cli::helpers::calendar::handle_agenda has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 1 (2 pts), match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1246e44ad44076776f2c056d028347e2251e5ca24ec05e92cdf9a0bac4074a25"}},{"ruleId":"D2","level":"warning","message":{"text":"google_workspace_cli::text::strip_markdown_links (cognitive 16): google_workspace_cli::text::strip_markdown_links has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 10). 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":"crates/google-workspace-cli/src/text.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84a629acd42ad9d1b53bf68c6a8a170b984f4051eafa79f1a0dae8c5cbc2e60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GmailHelper.inject_commands: MethodTooLong \u2014 inject_commands runs 291 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9338a11e62d34d9d9015f13567a0fdf773c58a8d8b75f5e30e3c5495d6a96b87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gmail/mod.rs: FileTooLong \u2014 1292 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 49 free functions. The bar is 500 significant lines; this is 792 over it, 2.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd152381c13f550cb8149f4d3d524157c46694aaa4187f513cd049065fa97b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/setup.rs: FileTooLong \u2014 1184 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 684 over it, 2.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f282d2d8ba9612bae55699b69dfa6268be08d88249c32db13697babfda284c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/auth_commands.rs: FileTooLong \u2014 1074 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 574 over it, 2.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c50b3f4a5257719fb16ebeead0bd87aa631f47059c9c4f3a4ad8fbedf1c76f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::helpers::events::subscribe::handle_subscribe: FunctionTooLong \u2014 google_workspace_cli::helpers::events::subscribe::handle_subscribe runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6248c706ba1d5b513f8e4b5e55af30709b30cbda8917ea5c5d1717547bc0e570"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::helpers::gmail::watch::handle_watch: FunctionTooLong \u2014 google_workspace_cli::helpers::gmail::watch::handle_watch runs 187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb6424b86d3879ad6477f429ee95b1706f40b8e5657fd64f854387d37322a37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::auth_commands::handle_status: FunctionTooLong \u2014 google_workspace_cli::auth_commands::handle_status runs 168 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd9cedbf9e83c409e17781554e26bb1269efe63d9e366cecd4fca14f1be00ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::helpers::calendar::handle_agenda: FunctionTooLong \u2014 google_workspace_cli::helpers::calendar::handle_agenda runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac6a9a766450b7c1d0ab521cfd864cb405e935ca2cd057416190147347373a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::setup::stage_project: FunctionTooLong \u2014 google_workspace_cli::setup::stage_project runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2755aee46a26211c13437e97915c8e76b17c020c67236afe07b5cbdb696c96e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/executor.rs: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da54e097a53b54db099d2fa8844f716b6691dd57842efbdc25d56617d0d8c27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::auth_commands::run_discovery_scope_picker: FunctionTooLong \u2014 google_workspace_cli::auth_commands::run_discovery_scope_picker runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c62bfca88897080db2213f4b357541056bd1b30c1df1ae47e1043839ca0c979"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::run: FunctionTooLong \u2014 google_workspace_cli::run runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/google-workspace-cli/src/main.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9283835aac2c2673877ff91d57641df2fff79a14fba8e099993ed0072d61b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/generate_skills.rs: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 149 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68299268874d7b2fcd15467a8d7a8003ef5ce42bb7ae91a8dda34cfa4d5a35d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::generate_skills::handle_generate_skills: FunctionTooLong \u2014 google_workspace_cli::generate_skills::handle_generate_skills runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bc5b94e3e89efa4e5c70604c68f8062f5bc41b38e0f53c6888605ac15758a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::generate_skills::render_helper_skill: FunctionTooLong \u2014 google_workspace_cli::generate_skills::render_helper_skill runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"193c749684d04824012a9f38dfad3a5b19312c5cf27d761d1e86d53b3fb15994"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/setup_tui.rs: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 62 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1473e662d3fc7ad235f5e354415c7991ebfb36b70320d15b0d6eb14002a1bc6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::executor::execute_method: FunctionTooLong \u2014 google_workspace_cli::executor::execute_method runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"00efde9b0b09b928f706d7f85570d1e335ec80a82be31b104e4b8f0f8473e23a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarHelper.inject_commands: MethodTooLong \u2014 inject_commands runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"30518567c7c1fa74ba26c55e92ddc43adb552c76858d0cf09e38fb3be71b91a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google_workspace_cli::helpers::gmail::triage::handle_triage: FunctionTooLong \u2014 google_workspace_cli::helpers::gmail::triage::handle_triage runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/triage.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01616db3167f209195286f8681bc1febcf521551507f0fb82c6879ad3e2fc3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helpers/workflows.rs: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f1f6e979c4dd68c6020767a79bd9d09e68715e6af5ef2a19491afaaaa39e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): crates/google-workspace-cli/src/helpers/events/subscribe.rs:384-488 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:266-359 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d4493a4a893d9a4e6cbd3813991c52e916dde6d71e058d7b5a33e1d2383d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/google-workspace-cli/src/helpers/calendar.rs:162-207 | crates/google-workspace-cli/src/helpers/chat.rs:67-126 | crates/google-workspace-cli/src/helpers/docs.rs:67-116 | crates/google-workspace-cli/src/helpers/drive.rs:74-130 | crates/google-workspace-cli/src/helpers/script.rs:71-139 | crates/google-workspace-cli/src/helpers/sheets.rs:110-205 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b087671a5bb11d327d10be12e7403ebf5fc0f73ba63a2259ab41b2c98ce5ea66"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/google-workspace-cli/src/helpers/gmail/mod.rs:371-405 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:454-482 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:647-671 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:693-731 | crates/google-workspace-cli/src/helpers/gmail/reply.rs:177-209 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e6465a0ef4f5eebf699efb8d58bbfb80acbfbf8f549441a10e8c6d9472992d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/google-workspace-cli/src/helpers/workflows.rs:237-260 | crates/google-workspace-cli/src/helpers/workflows.rs:445-533 | crates/google-workspace-cli/src/helpers/workflows.rs:620-691 | crates/google-workspace-cli/src/timezone.rs:78-128 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"43826e3af11174b6b3eab3f2adf215a6563716eb807034f60a09549f2e17449e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): crates/google-workspace-cli/src/helpers/workflows.rs:270-366 | crates/google-workspace-cli/src/helpers/workflows.rs:535-618 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3326dc51ff7fdc59e55795e3c84ff952e8851a60e9f4a596c467b737c4fc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/google-workspace-cli/src/generate_skills.rs:760-832 | crates/google-workspace-cli/src/generate_skills.rs:834-894 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf540000b359caba31e941be9e2fec30fb15640e04cb2074e34ddab48e3a2b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/google-workspace/src/validate.rs:72-113 | crates/google-workspace/src/validate.rs:120-160 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"crates/google-workspace/src/validate.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"833e05720f533b0463cd4a27ecd87c363cc301a9556e430f7812082d5a45b4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/google-workspace-cli/src/helpers/chat.rs:132-156 | crates/google-workspace-cli/src/helpers/sheets.rs:211-237 | crates/google-workspace-cli/src/helpers/sheets.rs:242-263 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/chat.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"34403618eb64f980c644b11cc1c1817dbe8743264636bfdfd5f8da5e4aacf4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/google-workspace-cli/src/helpers/modelarmor.rs:250-280 | crates/google-workspace-cli/src/helpers/modelarmor.rs:283-310 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"crates/google-workspace-cli/src/helpers/modelarmor.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb764ee0a55adfc0fe38108362bb3b54b2b5786531430923c3f435472e1c5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/google-workspace-cli/src/helpers/gmail/forward.rs:151-170 | crates/google-workspace-cli/src/helpers/gmail/reply.rs:356-372 \u2014 These two members are one piece of code written twice and then edited apart: 17 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":"crates/google-workspace-cli/src/helpers/gmail/forward.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e40c0e6ba87260859b1546b5805c35c0605a8fb8f80357a6665d8c0880e9fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/google-workspace-cli/src/helpers/gmail/forward.rs:244-262 | crates/google-workspace-cli/src/helpers/gmail/send.rs:73-90 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"crates/google-workspace-cli/src/helpers/gmail/forward.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e856579fa4c711cf4039bedd4595d0a9275ae2b7a53b2fe5ddb5cf2a6e193"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/google-workspace-cli/src/helpers/gmail/mod.rs:1540-1569 | crates/google-workspace-cli/src/helpers/workflows.rs:185-226 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2129ac466c523b81cc7d87a4021bb87fc8e1a1ac56446fc69e94283d453c78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/google-workspace-cli/src/setup.rs:475-490 | crates/google-workspace-cli/src/setup.rs:534-549 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"51815336f17420bfac74918b6dc78e4d1c85e18b86f4748c554460d6673e5899"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/google-workspace-cli/src/setup.rs:518-531 | crates/google-workspace-cli/src/setup.rs:552-566 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d15b761a1e8a73f7981544c3493102bb9be5c72531994a68a5bf1cdea5aaa8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/google-workspace-cli/src/helpers/gmail/mod.rs:1372-1385 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:1389-1402 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"908ac7788bc5e6827e0b92a08ce338dadf60c11863b23b5068b51980fcebd5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): crates/google-workspace-cli/src/helpers/docs.rs:31-60 | crates/google-workspace-cli/src/helpers/script.rs:34-64 | crates/google-workspace-cli/src/helpers/workflows.rs:134-161 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/docs.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3021e896125b1dea99cb73249bdc45e4fd944f6992493071872263cbc7c03825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/google-workspace-cli/src/helpers/workflows.rs:283-317 | crates/google-workspace-cli/src/helpers/workflows.rs:547-581 \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 \u0060crates/google-workspace-cli/src/helpers/workflows.rs:283\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":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b97b83b244a79a1bb083dc558a7083099451dc80ff1d290df99ddc838e1435a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): crates/google-workspace-cli/src/helpers/chat.rs:96-123 | crates/google-workspace-cli/src/helpers/docs.rs:86-113 | crates/google-workspace-cli/src/helpers/sheets.rs:131-158 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/chat.rs:96\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":"crates/google-workspace-cli/src/helpers/chat.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f3dd378582352cb0f776debb1c12bc5e9ea40d28e873a843ed867ac68725ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:466-488 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:337-359 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:466\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":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f65745b62f5d589cdf135570115a9da47a95811b6ba39bc039ecdf0ff29a2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 3): crates/google-workspace-cli/src/setup_tui.rs:553-572 | crates/google-workspace-cli/src/setup_tui.rs:616-635 | crates/google-workspace-cli/src/setup_tui.rs:670-684 \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 \u0060crates/google-workspace-cli/src/setup_tui.rs:553\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":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0486c77cd54e4e048fc8391192045f9bff7db4fc193c8b463021a9c5cf05e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:411-427 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:291-307 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:411\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"753c4c4b11ea39ba9039e0f5a3b2e71a90f8408692def40a0bb153f2badf9a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:441-456 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:473-489 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:441\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":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d54818d0bee54a6b9c471dfd708053d2718e0ba7ef77027f7167d0dca24a0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/google-workspace-cli/src/helpers/calendar.rs:181-196 | crates/google-workspace-cli/src/helpers/script.rs:117-132 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/calendar.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/script.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e7e06171e6feffc1ca68ac4ba7f81c0813034f9f8b5242dc90a0acb7ec7182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/google-workspace-cli/src/setup.rs:316-331 | crates/google-workspace-cli/src/setup.rs:332-346 \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 \u0060crates/google-workspace-cli/src/setup.rs:316\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0660ad54cc0d900b63bf31d3c6cddb6a98755bac984d226a101783ce9c9b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/google-workspace-cli/src/helpers/calendar.rs:186-200 | crates/google-workspace-cli/src/helpers/script.rs:122-136 | crates/google-workspace-cli/src/helpers/sheets.rs:187-201 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/calendar.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/script.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/calendar.rs:186\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":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12f4c98139a752d507f3807cc07922912ddf107b2e56a63734745c42a9236a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/google-workspace-cli/src/helpers/drive.rs:117-130 | crates/google-workspace-cli/src/helpers/script.rs:126-139 | crates/google-workspace-cli/src/helpers/sheets.rs:191-205 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/script.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/sheets.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/drive.rs:117\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":"crates/google-workspace-cli/src/helpers/drive.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c263b66d9824c69ce01de6b32c3f5aa90fa0bdc4c834038a0bacf1c23a1346a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:211-225 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:57-71 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"505a861c0f48ffb5e4a8ce7dc3dd7f8769804c549747f05720e541eef0796e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:236-250 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:122-136 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:236\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 matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a294404a7aeb1d21e20532d961d4730501153ae257a2852890bfcd0bb33933fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/google-workspace-cli/src/helpers/workflows.rs:304-317 | crates/google-workspace-cli/src/helpers/workflows.rs:336-349 | crates/google-workspace-cli/src/helpers/workflows.rs:568-581 \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 \u0060crates/google-workspace-cli/src/helpers/workflows.rs:304\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/google-workspace-cli/src/helpers/workflows.rs:320\u0060 calls \u0060get\u0060, \u0060and_then\u0060, \u0060as_str\u0060 and \u0060crates/google-workspace-cli/src/helpers/workflows.rs:584\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40ff5809997cdd0c050d6354666d0498235d5a260c78a738ad6744f9e170e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/google-workspace-cli/src/auth_commands.rs:1293-1308 | crates/google-workspace-cli/src/auth_commands.rs:1322-1335 \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 \u0060crates/google-workspace-cli/src/auth_commands.rs:1293\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"4434d1ebc0490fe68b362dcec3cb26b4b8e6eb762b3f560d7b0c37d3d1674ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/google-workspace-cli/src/setup_tui.rs:591-604 | crates/google-workspace-cli/src/setup_tui.rs:646-659 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/setup_tui.rs:591\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":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7b67d7988e38f9f97c06173b53fde3dfdbd43f03db2917a044854d4213a2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/google-workspace-cli/src/generate_skills.rs:761-773 | crates/google-workspace-cli/src/generate_skills.rs:835-846 \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 \u0060crates/google-workspace-cli/src/generate_skills.rs:761\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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f398f82c2b31f151d86c2cff7f8265814c3ac7c07777da9159a64f26321127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/google-workspace-cli/src/setup.rs:478-490 | crates/google-workspace-cli/src/setup.rs:537-549 \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 \u0060crates/google-workspace-cli/src/setup.rs:478\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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c93a72d5abdb0bddcffda23ad8b9f217f49619ae5d3c69168455b8d95b0101d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/google-workspace-cli/src/auth_commands.rs:436-447 | crates/google-workspace-cli/src/auth_commands.rs:522-533 \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. 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a9dc1f2ba08531aec275ee0555d8781dcae0d8df931cf2d64209c2ed3ac7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/google-workspace-cli/src/executor.rs:877-888 | crates/google-workspace-cli/src/executor.rs:932-943 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/google-workspace-cli/src/executor.rs:875\u0060 calls \u0060to_string\u0060 and \u0060crates/google-workspace-cli/src/executor.rs:930\u0060 does not \u2014 after which the two agree again for 3 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":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c5c58c17f3c233630033dffc490aa374b458450a351f9f3989af6c66848f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/google-workspace-cli/src/setup.rs:1021-1031 | crates/google-workspace-cli/src/setup.rs:1152-1162 \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 \u0060crates/google-workspace-cli/src/setup.rs:1021\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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"636aa6c13eb4801bb6fbc4d46e4441db8fe4b255373e26333d438cc4a7014322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/google-workspace-cli/src/setup_tui.rs:282-292 | crates/google-workspace-cli/src/setup_tui.rs:295-305 \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 \u0060crates/google-workspace-cli/src/setup_tui.rs:282\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":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a243a8476167969e50e4f93ec3f890b6460adb17cdeab085397fab325d0297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:397-406 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:277-286 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:397\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":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"158ccf52f085a7292dbec32f27871c1e7e4922a52c9e37897dcf32738f4e8601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/google-workspace-cli/src/setup.rs:1548-1557 | crates/google-workspace-cli/src/setup.rs:1565-1574 \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 \u0060crates/google-workspace-cli/src/setup.rs:1548\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":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca9193dbbfe74afb53f47389e4e398e0ec4a1a95d970fb8dbd4259ce51dbdbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 4): crates/google-workspace-cli/src/helpers/gmail/mod.rs:386-394 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:463-471 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:657-662 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:704-712 \u2014 all 4 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 \u0060crates/google-workspace-cli/src/helpers/gmail/mod.rs:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6163df78bf52849a7d6493ed231117d9c7d6ca474d1ed9ea206b08f3289f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/google-workspace-cli/src/helpers/workflows.rs:273-281 | crates/google-workspace-cli/src/helpers/workflows.rs:538-546 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/google-workspace-cli/src/helpers/workflows.rs:282\u0060 calls \u0060start_of_today\u0060 and \u0060crates/google-workspace-cli/src/helpers/workflows.rs:547\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":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"653166abda7fda5411e13b25ef468f2260e6634cfad62a4ae70a65e69aa081b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/google-workspace-cli/src/credential_store.rs:29-36 | crates/google-workspace-cli/src/credential_store.rs:433-440 \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 \u0060crates/google-workspace-cli/src/credential_store.rs:29\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":"crates/google-workspace-cli/src/credential_store.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1351e6480d012e4701dc40a285ec3f9f60cbef1de6d596166f7d896b137b5102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/google-workspace-cli/src/helpers/gmail/forward.rs:29-38 | crates/google-workspace-cli/src/helpers/gmail/reply.rs:30-39 \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 \u0060crates/google-workspace-cli/src/helpers/gmail/forward.rs:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/forward.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac95092bd1ce2f915d970fe53cd083eee08b710fafa541ed85c80fb7cbfaf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/google-workspace-cli/src/helpers/gmail/forward.rs:152-159 | crates/google-workspace-cli/src/helpers/gmail/reply.rs:357-364 \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 \u0060crates/google-workspace-cli/src/helpers/gmail/forward.rs:152\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060envelope\u0060 to \u0060\u0026ForwardEnvelope\u0060 in one and \u0060\u0026ReplyEnvelope\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/forward.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdfe08f0b1b3e0ebc5b49d30b354c437c55d4e6b25b840ebda8b1670d9a77f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/google-workspace-cli/src/auth_commands.rs:437-443 | crates/google-workspace-cli/src/auth_commands.rs:523-529 | crates/google-workspace-cli/src/setup.rs:416-422 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/auth_commands.rs:437\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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"185f4a30eedf65baf1b087284d6ecfcd0778ec66e0d3eeb74520ec9e88bb2762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/google-workspace-cli/src/helpers/sheets.rs:212-218 | crates/google-workspace-cli/src/helpers/sheets.rs:244-250 \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":"crates/google-workspace-cli/src/helpers/sheets.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8070b6191e189706af8f0ccaa9350367167529131c4276f069d4f5bc187b89b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/google-workspace-cli/src/schema.rs:236-242 | crates/google-workspace-cli/src/schema.rs:255-261 \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":"crates/google-workspace-cli/src/schema.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad211ac0c77cb531a34f4c4f8eca7d323c95b0cdd871e89c9914a372ec12260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/google-workspace-cli/src/setup_tui.rs:417-434 | crates/google-workspace-cli/src/setup_tui.rs:575-592 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/google-workspace-cli/src/setup_tui.rs:437\u0060 calls \u0060is_empty\u0060 and \u0060crates/google-workspace-cli/src/setup_tui.rs:593\u0060 does not \u2014 after which the two agree again for 3 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":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf7835efbc744c65da5157411c033d4bb5c409f7bfb97c09453f6d79e59974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/google-workspace-cli/src/helpers/workflows.rs:246-251 | crates/google-workspace-cli/src/helpers/workflows.rs:512-517 | crates/google-workspace-cli/src/helpers/workflows.rs:671-676 | crates/google-workspace-cli/src/timezone.rs:87-92 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/workflows.rs:246\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f2fd229f8b1f9f9d1c75d4e420739dbdb471e1a4297758ad2f907007cbe1bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/google-workspace-cli/src/credential_store.rs:207-212 | crates/google-workspace-cli/src/credential_store.rs:262-267 \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 \u0060crates/google-workspace-cli/src/credential_store.rs:207\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":"crates/google-workspace-cli/src/credential_store.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fd59c1e1da0729821045c651d070e483c5bda0935d7f74fad3e47802ed7095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:494-500 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:365-372 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:494\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":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d612fcae1a64cc4ed2369af0d6d0b7bea474de8c531ae2c4c3399826f88c486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/google-workspace-cli/src/helpers/sheets.rs:126-131 | crates/google-workspace-cli/src/helpers/sheets.rs:216-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/sheets.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb0239f5602df88fc333402293bef24bb0d2b9a5f92ec7f11994bcef2975d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/google-workspace-cli/src/helpers/sheets.rs:123-128 | crates/google-workspace-cli/src/helpers/sheets.rs:165-170 \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":"crates/google-workspace-cli/src/helpers/sheets.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d2d21a2ba7c396f9353b6734f8ee810f22a5351b7bc274c34d193160438a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/google-workspace-cli/src/helpers/sheets.rs:168-173 | crates/google-workspace-cli/src/helpers/sheets.rs:248-253 \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":"crates/google-workspace-cli/src/helpers/sheets.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"569c1b6ca693bbf44dc04941be8be47c6f0789853ce8094725657fc5c7a3a5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/google-workspace-cli/src/helpers/gmail/forward.rs:173-179 | crates/google-workspace-cli/src/helpers/gmail/read.rs:96-102 \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":"crates/google-workspace-cli/src/helpers/gmail/forward.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f58e587e44aa9a0159ad0d8cb2863106c082889393f5a07d4a732bec4af6a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/google-workspace-cli/src/helpers/modelarmor.rs:116-136 | crates/google-workspace-cli/src/helpers/modelarmor.rs:148-168 \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 \u0060crates/google-workspace-cli/src/helpers/modelarmor.rs:116\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":"crates/google-workspace-cli/src/helpers/modelarmor.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0306816ceb6242e58b74eeb6db77962b75cdc24f5c8e821aabd63e4ac9cd65ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/google-workspace-cli/src/helpers/events/subscribe.rs:342-356 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:235-249 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 120 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/events/subscribe.rs:342\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":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b04d59322c3bf0590238300461ec64a8112aae490f1b79eb4de6a517f31570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/google-workspace/src/validate.rs:101-113 | crates/google-workspace/src/validate.rs:148-160 | crates/google-workspace/src/validate.rs:206-218 \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 \u0060crates/google-workspace/src/validate.rs:101\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":"crates/google-workspace/src/validate.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e28e34b0b264be346dc0ca655e570ebdebe0aaeae3aa6904e985f5051adba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/google-workspace/src/validate.rs:79-88 | crates/google-workspace/src/validate.rs:133-141 \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 \u0060crates/google-workspace/src/validate.rs:79\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":"crates/google-workspace/src/validate.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad1fe2670cc77b8838d8da1524e6bff4b5fea3f94cf3452513532d9ebd2d44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/google-workspace-cli/src/helpers/gmail/watch.rs:85-93 | crates/google-workspace-cli/src/helpers/gmail/watch.rs:121-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 \u0060crates/google-workspace-cli/src/helpers/gmail/watch.rs:85\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":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff888fe1831a328f1990334bdfd404538de111ca2ac7db1cfab623c97a29f2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/google-workspace-cli/src/generate_skills.rs:222-230 | crates/google-workspace-cli/src/generate_skills.rs:253-261 \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 \u0060crates/google-workspace-cli/src/generate_skills.rs:222\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":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044adf6e8ec0c822993b876e4f17ac57402bf1b8e2c9a9c7b78733e1db3445c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/google-workspace-cli/src/helpers/workflows.rs:502-510 | crates/google-workspace-cli/src/helpers/workflows.rs:663-669 \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 \u0060crates/google-workspace-cli/src/helpers/workflows.rs:502\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":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0523a5f7b011a236a42dd072c84babae89986bc19e933734303a397ea9475d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/google-workspace-cli/src/helpers/gmail/mod.rs:382-390 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:459-467 | crates/google-workspace-cli/src/helpers/gmail/mod.rs:653-661 | crates/google-workspace-cli/src/helpers/gmail/reply.rs:182-190 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/gmail/mod.rs:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/google-workspace-cli/src/helpers/gmail/mod.rs:651\u0060 calls \u0060query\u0060 and \u0060crates/google-workspace-cli/src/helpers/gmail/mod.rs:457\u0060 does not \u2014 after which the two agree again for 3 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":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b929d16a30c9846048f0bc91c23a287efe8f5e38dc2b375a84e1e309ed10de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/google-workspace-cli/src/helpers/calendar.rs:265-271 | crates/google-workspace-cli/src/helpers/gmail/triage.rs:56-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/calendar.rs:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/google-workspace-cli/src/helpers/gmail/triage.rs:55\u0060 calls \u0060query\u0060, \u0060to_string\u0060 and \u0060crates/google-workspace-cli/src/helpers/calendar.rs:264\u0060 does not \u2014 after which the two agree again for 3 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":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f4f84dd3eb35fac46ee07bc85c8d1c498b974311bcd6caae6f799f89477891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 7): crates/google-workspace-cli/src/helpers/calendar.rs:168-170 | crates/google-workspace-cli/src/helpers/chat.rs:81-83 | crates/google-workspace-cli/src/helpers/docs.rs:73-75 | crates/google-workspace-cli/src/helpers/drive.rs:101-107 | crates/google-workspace-cli/src/helpers/script.rs:106-108 | crates/google-workspace-cli/src/helpers/sheets.rs:117-119 | crates/google-workspace-cli/src/helpers/sheets.rs:178-184 \u2014 before extracting anything, compare \u0060crates/google-workspace-cli/src/helpers/calendar.rs\u0060 and \u0060crates/google-workspace-cli/src/helpers/script.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/calendar.rs:168\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/google-workspace-cli/src/helpers/sheets.rs:177\u0060 calls \u0060Ok\u0060, \u0060Some\u0060, \u0060Err\u0060 and \u0060crates/google-workspace-cli/src/helpers/calendar.rs:168\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef551d4fafefbb2854de23aed1a3799cfb7ef97b6edf5bdab164f9a556a3fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/google-workspace-cli/src/helpers/workflows.rs:449-454 | crates/google-workspace-cli/src/helpers/workflows.rs:624-628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/google-workspace-cli/src/helpers/workflows.rs:449\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0bd8d6285764a4a081f6d2cf7583fee1a53784978db77fefb3483675dc520a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/google-workspace-cli/src/helpers/calendar.rs:363-368 | crates/google-workspace-cli/src/helpers/calendar.rs:369-374 \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 \u0060crates/google-workspace-cli/src/helpers/calendar.rs:363\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/google-workspace-cli/src/helpers/calendar.rs:369\u0060 calls \u0060and_then\u0060, \u0060get\u0060, \u0060or_else\u0060 and \u0060crates/google-workspace-cli/src/helpers/calendar.rs:375\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":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d84ece6bbc1629b493e109d92098109c6c21ae9e82d868b93311bf1c2980a7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: google-workspace: google-workspace: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6f533cda2d26ee5c18329a56c05423129e7a9ae0c4ad0fc1a8a90aa7ee915022"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/auth_commands.rs: 36.1% line coverage (392/1087)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26260e95fe444f1884e42a2ccbb76c5b774e43aa541159f60e1a5e076dc834a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/discovery.rs: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/discovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e44968f862fb9d2f743a084a668d1d9094911e150ba55887b1acc1cbdd49f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/error.rs: 25.0% line coverage (8/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"950db473cb8a7af87993ad3f0680efd42c6bc511534f5508a6a335a4b6cb2059"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/calendar.rs: 19.5% line coverage (73/375)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e64cbac57750dbf43ee0599d706d32541ba1c6928931d0f5707df0dafacfb82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/chat.rs: 49.0% line coverage (51/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9234c8da6f02455eee74c51f2038369c3d6c33e63555c4072fefbff19dbf89d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/docs.rs: 26.3% line coverage (26/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/docs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc386546247d351ecda4a1539417589a9572e18ad640357d2e39d28a74b3ee88"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/drive.rs: 45.7% line coverage (43/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/drive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765597e28e1fb87612eaba0923f3945f23ba6a1278af52b8908de7a50d0c7ea0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/events/renew.rs: 35.9% line coverage (47/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/renew.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d40e0b9291cf2000cf1e9177fe954e3741bf66a914bc4fb9f44a4fed203f2f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/events/subscribe.rs: 44.7% line coverage (197/441)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ef616325c43968be3b76bfa1b2b45dc66fbccb1ab66ddc2257a3e718440f63"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/gmail/read.rs: 10.9% line coverage (7/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/read.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e316e3965d396904a5c193573ca8d49d66186f74a3d192318ee02a922b746550"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/gmail/triage.rs: 3.5% line coverage (4/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/triage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c35ca66ef73c352072604a6549411b5c75d8f28982bba8ab2d1c144df813e89"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/gmail/watch.rs: 44.0% line coverage (199/452)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cc7cd1796580007e0da6601e8f6a49183659fcf983bcc3a15e5939a416fffb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/script.rs: 29.5% line coverage (36/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/script.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e4beff444aea6a3fb1a5653953444a4f66a98f32554546e53901feafeba3b7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/helpers/workflows.rs: 20.2% line coverage (102/505)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801a5852ef2c282df6f0f625abd37fd2bc0d86f9d9370b541a6609c5879405a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/logging.rs: 17.6% line coverage (6/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/logging.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"673c67578c64b9f043167b7e1afd397c7bac860ae19c50a96fe06a74e4388cd9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/main.rs: 21.9% line coverage (73/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"792316f9fcb2a9261eea53f4c786c1d625526f4834612e1b1776ecd32e3e2388"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/schema.rs: 38.6% line coverage (85/220)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceead35d3539b013d0a64b70b9fac3c8bb217c150eaebae5ecadc49b816bbb2b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/setup.rs: 14.2% line coverage (139/981)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3baddd7faf597a652abfdecfe3900f6c58bbc3efe106be996d99a6b7410b7c52"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/setup_tui.rs: 28.7% line coverage (164/572)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17221f882de5664356d15fde31a58b79c8ad414e0bf82dfa0125d6a05c65106c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/timezone.rs: 8.8% line coverage (11/125)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/timezone.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae36b7f2d370743c27042066ebd5b356bb91cf1d8e0e4da2b89dc4819b1ecdae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace-cli/src/token_storage.rs: 10.2% line coverage (6/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/token_storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95939850de23293363316eefc2cb4d3cd035fae558d7feeb874cca09f7c4aeb0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace/src/client.rs: 49.1% line coverage (27/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c101433bc7a53d26d4ca0fad15e2b6cbcd66cd12cb61ee730987d62bbd33d026"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/google-workspace/src/discovery.rs: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/discovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8036952c161e0f1e1fb4cc2abc65672d1f16011b13beab0446808ec241e541d1"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: crates/google-workspace-cli/src/helpers/modelarmor.rs, crates/google-workspace-cli/src/helpers/mod.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5ebcdbc8e3343d9a895f1b12c357ecc770c51fb18b8f14dfaac4f854b3543a3"}},{"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 \u0060crates/google-workspace-cli/Cargo.toml\u0060 makes this repository a deployable product (line 28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/Cargo.toml"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"44479be4aae2d020e0c2339d37b27982df2cb23634cd9c90dd3d7296b1042191"}},{"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":"3bb0c27568e46752e7f1ddccf99c5cb3afc741d72f4de938cf9e6d0e530917a7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"422c6474e9cf942ab2a5986772661836346cbea8e50b226aaafbfd9740d47141"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8515b702b2f7be633073ad8077c27cf49209f3fd372f53d37b1d298f22b7cf7e"},"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":"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":"e6790f47092b3d0481018c6e93a66886cb82ef8c327b22114f7747d22cd53881"},"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":"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":"b5308f9ed219ff7d361ed2b01ab7b5fa7a33b0013fcd35575e7068ccda1d2997"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d3d2c2346bccaaa14c1bd0f0713c18ae4de849fffdc7282dbd533ab105c9398"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.10","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24ca2b657a002371f47253ffc3d1042d7a3752a5b2076cdfa1568b90732fc738"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98f5b7f1cc7ab72c7ef988be1ab835626c9ba93796c264fb44a05726fc7d8dd6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.13","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.16.3","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"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":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"9040b7ad52b862da8ec54c50aafe5b7aad49e0d3c7df8ecb342f09947efda51b"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"793c626514aae303ea6425aad2b44c60e2172d792e49301865abecdb223196d6"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.37","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"reachability":{"kind":"unknown"}}}},{"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":"29657cae34dd8cde614417a5e63194c90262d7543de5763d566a22c44f87c6e9"},"properties":{"dependency":{"package":"scc","version":"2.4.0","advisory":"RUSTSEC-2026-0205","reachability":{"kind":"unknown"}}}},{"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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.50.0","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 43 of 43 significant files have no living knowledge, while the repository is still being changed at a low rate (1 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 43 separate risks. Counted over 43 of the 48 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"147e83befee3883f7c9f3325ef8c3d679ddd3eb3defc7a54d17aa758169a9037"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e698784178e2b868724e7486c5ecf34158a075dcb8623aed3890332c3499b40"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89070a5dfa82f2f01644ce6b5bfc82cb10d410dd19de0f627ce72f3b95aac1fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/executor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67688231b883340c3453741a914d7ae17f6d48bf63c38defced19f35fdcf2ddd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/setup_tui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943346d8bd6ae2ee2b039aa3090057d4d7730ccc233460cef68d3e2aabbc24f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/reply.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"689fadc9eefe148d829c10f97a6e925e47e14a6a0095cfa50ab3d76c37ecbfa5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/generate_skills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b1315bb256dd213c025345b0719c0ff71926bb089f7fb225803facf2a8b426"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/credential_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dc13964f11fcf05f9a357b79b5be64e49cd291b7cf1ec34464d0c1b06232b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f2b9f4709305edd02fe1d6ac547f5048bad279cebb77f6825f0e14f736a00f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/watch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0a5d376aa1f1a722b8b9ffdcdf1d0f4ade3a6c855fb704eb1d51a8a635677f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/forward.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5953cb2f04ff999b0ab4466da60bd800c3cb45882ed6368c00c882f36bd3dce9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/subscribe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86715378c78405d6770ad7ae8df0ff0215538bd78ff149189a49fe281f2e85a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/validate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95702e500039332175a0c32df4e1c410a0f1516da09585a9e626a12f87b0aa09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/calendar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f95113b87db642c00c91da1cdb4a89722dc701fd0852bb4cf71e813721268dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/formatter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c438440587a0d7553faf23bcec99a2e68917889ab6b59b176567f74e824ed09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/modelarmor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d98b7c70adde59edb7e6573df2c4816787f5cd481667bfe8276d90b2dd60be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ff2f4ee724f9110e5bf7f9ba19ffdc49f43f2e66fa13b88c154ab9f9b73788"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/workflows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477a8d17f9cdd2f082dff27f176616fcf5ee23f81c9dc715f8884f1ad26d3f73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/sheets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298df26c9fd0505766880dd13e1992bb5c57e4c65dde984339901fc875e60ca3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b69ead80ecc4133f6eef002e42a086e3c737924cf4837afcb619e869ac88f47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/send.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b93eb86bd6a1319cd2af7ce79c94891e4066f4b4faa9ed8fafa5aeb95463b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/discovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28db3c41ad92ca30e715638d7d40f4effe3ce812f8761184723775cc16bb0031"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/text.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ef113ff2f4fc075bede27822387fa9122245de6be816575ce03783c7701d13"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/triage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd533e2dec8f8b9d3f2e44ac37cda2fb878e909cdccbbf5f6f9580e060c99dd5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"313f1294a0cac6b7dbee7cd44d2ad6d533898357c33d5ee8767869e056e4c74a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c83682aee1641e9d8c5104dec020f339bd6bb820019fb10c807805099b7b65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/script.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e355760f702f1dbffe43c08c8a6c86b40a9c0de116901f6a033d1098f1fd1bd2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/renew.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36ec3f0aee0b92ae32c0a40957f5755e7e847bab9b4fb2dee55ce3631ed208d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/oauth_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"460c802d5e4760b009d1436426a90a552374867d4c19fe4a042e3c39e34070ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/timezone.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4046d6043f1d8cfacc4b1490a14dbb5d9a666ede4479d264792e6abe92f45c16"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a93fe192a92c384c9a1e1956133a6f2286f01bc64ec2fa07cc54bec0702c4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/events/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc44621983873b605c5aa67bcc66049dc8096d955b65c282f321c3d3145f4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/docs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d097319ff25a7c20fe7f5b2a384967162cb30da875255ac79526d10258f21402"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/drive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f0c7cd9c55377ee5028adab09e6c3fefa911e123b6fc476043dbcf75f39c62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37847149f8c00d3f7aaccd0c84d032e9154e327776a417205d3ec65814663c67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e307e22846a1356418df79a8cf95736e70d5164215f77e91410f2a1d80ed5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/token_storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09275e0ff44d23d7e0030dfd870a600f2a8bf41f556ca9f7fb16f8a0a4f64a17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace/src/services.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7fd36be761cce78c74b2c476730347cb703c528e89d276a12f26215fc37437"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e805f2cabea61a4d61d8338e4e3bfc98cbb915adb5ceaccdca0b8c11a466a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/fs_util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cc6401f153a066baa212be4c6408121423eaa407eb9a299b75bd16b7a322e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/gmail/read.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6885b4080ecb6aaec528917a132219ef26e45e02ab75acc7d1b30e7233cd21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/helpers/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0673c4e64326f2fd5784e5b50df7bede7b44a45cc09c3f0eed2115b083daeaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/logging.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f37b5b0cdc973ca5a5475c47ad3e43ea996b869f4c62fc0f130cf862699580"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"81d0799af757bba1afbed34637d383ea39ed22bd8ff8ec5b09c5aa413595d701"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8269361843ffe65dbb28f6096b8754032a264b0176110008bed0d9682c1a6f4f"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"57b2473505c1989f65274f686a3b7c8e74a1b0d5d69c52824400f8e3f9509f88"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7531453b8be73bcc9307a9eb3ba397c99d61213db84403fdb4ce958f71f6df96"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e531ba99c968a2fa8f884d2779bdc6823379f8db7d8dee613f3c63fb26269eb1"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"acf2bfab54704ada202a247df310a4bc395851eaeb11f8297c2aeb57062bd23e"},"taxa":[{"id":"CICD-SEC-4","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":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060npm\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\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":"package.json"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.kind() == clap::error::ErrorKind::DisplayHelp || e.kind() == clap::error::ErrorKind::DisplayVersion\u0060 appears character-identically in 3 files \u2014 crates/google-workspace-cli/src/auth_commands.rs, crates/google-workspace-cli/src/main.rs, crates/google-workspace-cli/src/setup.rs. 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eb1491497dcba2502f8dcbfb0d3ad51af9ea88022314c38b0cf56e9163f177"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.contains(\u0022/auth/chat.app.\u0022) || url.contains(\u0022/auth/chat.bot\u0022) || url.contains(\u0022/auth/chat.import\u0022) || url.contains(\u0022/auth/keep\u0022) || url.\u2026\u0060 appears character-identically in 2 files \u2014 crates/google-workspace-cli/src/auth_commands.rs, crates/google-workspace-cli/src/setup.rs. 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":"crates/google-workspace-cli/src/auth_commands.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a068524194752e7f49362b5f45599156292f29b0ca419d093db0d9b1f8dbfdb6"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/1 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: download: \u0060download\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/install.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b90522a5ed6c9dde0639d6b9c239f572e6eb700361f74a97f6a4ae8605f8b53"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060response_text_or_placeholder\u0060 turns every \u0060Err\u0060 into \u0060\u0022(could not read error response body)\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/auth.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"609bb2d2d45fa71741c7af638e7e4fd045d155399c6117a24307af90ebfe8dbf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060iana_time_zone_fallback\u0060 turns every \u0060Err\u0060 into \u0060\u0022UTC\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/google-workspace-cli/src/timezone.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"995ea670fcfcb18ace1669ef33a89faad699649fbf0fa5a89203200c456e05ab"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":29,"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."]}]}