Today a relative image or video path in a body given with --body-file resolves against the working directory, then the repo root. The body file's own directory is never tried, so  in docs/notes.md is refused when docs/shot.png is beside it, or uploads a different ./shot.png if one exists.
This PR tries the body file's own directory first, then the working directory, then the repo root. --body and --body-file - keep the old order, since neither has a file directory. The --body-file help, docs/agents.md and atgc agent media now describe the order.
🤖 Generated with Claude Code