Reddit trick uses syntax-breaking notes to steer coding agents mid-run
playnew · reddit · 2026-07-23
A Reddit user shares a simple way to steer a coding agent without interrupting it mid-run: write a plain-text note directly into the code so the file becomes syntactically invalid.
The agent will eventually notice the parse/compile error, open the file, and read the instruction at the exact line that needs attention. The author says this works better than stopping the agent and helps turn the process into a live code review instead of one big end-of-run review.
More from coding & agent
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11