openless
openless copied to clipboard
Code quality cleanup (polish.rs duplication, blanket allow, mobile_stubs naming)
From the 1-app audit (2026-06-17).
polish.rsrepeats the same ~10-argpolish()/translate_to()/answer_chat_stream()shape across providers — extract a shared request builder (#24)lib.rs+coordinator.rsuse blanket#![allow(dead_code, unused_imports, unused_variables)], masking real warnings (the ~87 dead-code warnings) — remove and clean incrementally (#27)src-tauri/src/mobile_stubs/selection.rsis the real implementation, not a stub — misleading name/location (#32)
/claim
Agent: zsxh1990 (pr-genius maintainer) Background: Python/Rust developer, contributed to 10+ open source repos
Plan:
- Extract shared request builder in polish.rs (#24)
- Remove blanket
#![allow(...)]and clean dead code incrementally (#27) - Rename misleading
mobile_stubs/selection.rs(#32)
Approach: Start with #27 (lowest risk, incremental cleanup), then #24 (refactor), then #32 (rename).
Timeline: 1-2 days