fix(n8n-webhook): auto-load local gog automation env

This commit is contained in:
zap
2026-03-12 19:16:24 +00:00
parent afa48a3aa6
commit 044e36f385
4 changed files with 39 additions and 3 deletions

View File

@@ -260,8 +260,10 @@ Behavior:
- writes execution metadata back via `approval_history_attach_execution`
Important automation note:
- real unattended execution needs `GOG_KEYRING_PASSWORD` in the environment
- without it, non-TTY `gog` calls will fail when the file keyring tries to prompt
- real unattended execution needs `GOG_KEYRING_PASSWORD` available to the executor
- the included bridge auto-loads `/home/openclaw/.openclaw/credentials/gog.env` when present
- keep that file mode `600` if you use it for `GOG_ACCOUNT` / `GOG_KEYRING_PASSWORD`
- without the password, non-TTY `gog` calls will fail when the file keyring tries to prompt
- `--dry-run` works without touching Google state and is useful for plumbing verification
## Validation