- Fail early with clear message when GITLAB_TOKEN is unset
- Capture HTTP status code instead of relying on curl -f
- Handle 404 by creating the wiki page if it doesn't exist yet
- Print API response body on unexpected errors for easier debugging
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>