# Troubleshooting common task problems

Fixes for frequent CoderFlow task issues: tasks stuck in a blocked state or
asking for approval on every command, tasks that finish without producing a
diff, and agents that cannot reach an external service. This page is internal
assistant knowledge — cite it as internal knowledge, not as a `/docs/` link.

## Why is my task stuck "blocked" or asking for permission on every command?

A task pauses and asks for approval when its environment runs in an approval
mode that requires confirmation before each command. Switch the environment (or
the individual task) to an autonomous approval mode so the agent can run
commands without prompting. If only specific commands should be pre-approved,
add them to the environment's command allowlist rather than loosening the whole
mode.

## A task finished but produced no diff

This usually means the agent decided no code change was required, or it made
changes outside the repository working tree. Re-run with a more specific
objective, and confirm the task targeted the intended repository and branch.

## The agent cannot reach an external service

Containers are network-isolated by default. If a task needs to reach an
internal API or package registry, that egress must be allowed for the
environment. Check the environment's network configuration before assuming the
task itself is at fault.
