Charlie Marsh says Codex built a Rust lint that deleted thousands of lines
charliermarsh · x · 2026-07-21
Charlie Marsh says he used Codex to build hawk, a workspace-aware Cargo lint that finds unnecessary Rust visibility and dead code.
- The tool analyzes an entire Cargo workspace, starting from production targets.
- It reports unused public items, items that can be made pub(crate), and visibility that can be narrowed.
- Marsh says it has already deleted thousands of lines from both uv and Codex itself.
Related event: Dev builds Rust dead code cleanup tool hawk with Codex(2 posts)→
More from coding & agent
- Dev builds talk on guardrails workflow for shipping AI-written code without reading it — TejasKumar_ · 2026-09-11
- banteg: Codex auto-review has regressed, blocking steps needed to complete authorized tasks — banteg · 2026-09-11
- lucasmeijer's workflow: handwrite the doc yourself, then have the agent challenge your understanding — lucasmeijer · 2026-09-11
- A doc-anchored agent workflow: you write, the agent only critiques and finds disagreements — lucasmeijer · 2026-09-11
- SymKit MCP: 44 tools for AI agents to verify symbolic derivations — Foreign-Specific-604 · 2026-09-11
- GitHub Copilot team routes user bug reports to an AI agent via Slack — marlene_zw · 2026-09-11