If you're running linters for formatting etc, just get the agent to run them on autocorrect and it doesn't need to know the status as urgently.

That's just one part of it. I want the LLM to see type checking errors, failing test outputs, etc.

Errors shouldn’t be on stdout ;)

“Errors” printed by your linter aren’t errors, they’re reports