You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: improve local setup guide with env requirements and troubleshooting (#14)
Documents the two-layer env architecture (runner context vs sandbox .env.d),
per-agent env file requirements (GH_TOKEN, GIT_BOT_EMAIL), custom image
requirement, sandbox log inspection, and common local setup mistakes.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
For generic troubleshooting (sandbox creation, gateway connectivity, missing env vars,
165
+
arm64 image pulls, Podman host-gateway), see the upstream guide.
95
166
96
-
### 6. Troubleshooting (RHDH-specific)
167
+
**Common local setup mistakes:**
97
168
98
-
For generic troubleshooting (sandbox creation, gateway connectivity, missing env vars, arm64 image pulls, Podman host-gateway), see the upstream guide.
169
+
| Symptom | Cause | Fix |
170
+
|---------|-------|-----|
171
+
|`yarn: command not found`| Using upstream default image instead of RHDH custom image | Set `FULLSEND_SANDBOX_IMAGE=ghcr.io/redhat-developer/rhdh-fullsend-code:latest` in gcp-vertex.env |
172
+
| Agent can't run `gh` commands | Missing `GH_TOKEN` in local env file | Add `GH_TOKEN=<gh auth token>` to your agent env file |
173
+
| Git commits fail with empty email | Missing `GIT_BOT_EMAIL` in code-agent.env | Add `GIT_BOT_EMAIL=noreply@local` — the scaffold template uses `${GIT_BOT_EMAIL}`|
174
+
|`COREPACK_HOME` not set | Using upstream image (Docker ENV stripped at runtime) | Use RHDH custom image + `rhdh-toolchain.env` sets it via `.env.d/`|
175
+
|`DENIED ... edge.openspec.dev:443`| openspec telemetry not in policy | Set `OPENSPEC_TELEMETRY=0` in `rhdh-toolchain.env`|
176
+
| 268 DENIED for `registry.npmjs.org`| Yarn scoped packages use `%2F` encoding | Add `allow_encoded_slash: true` to npmjs endpoint in policy |
0 commit comments