--- name: deslop description: Remove AI-generated code slop and clean up code style --- ## OpenAI runtime contract Read [the adapter contract](../../references/runtime-contract.md) before this workflow. It maps provider selection, agent calls, loops, persistent state, history, verification, and authorization. That contract supersedes Cursor-specific execution syntax and unverified model fallbacks below; the engineering steps remain required. Use native tools in the current host by default. Cloud uses its available OpenAI models. No remote laptop connection, server URL or MCP setup is permitted. Optional local CLI adapters require explicit environment-local selection. Do not claim cross-provider diversity for OpenAI-only review. # Remove AI code slop Check the diff against main and remove AI-generated slop introduced in the branch. ## Focus Areas - Extra comments that are unnecessary or inconsistent with local style - Defensive checks or try/catch blocks that are abnormal for trusted code paths - Casts to `any` used only to bypass type issues - Deeply nested code that should be simplified with early returns - Other patterns inconsistent with the file and surrounding codebase ## Guardrails - Keep behavior unchanged unless fixing a clear bug. - Prefer minimal, focused edits over broad rewrites. - Keep the final summary concise (1-3 sentences).