Repository navigation
fix(compose): forward HERE_NOW into agent containers - #110
Merged
Merged
Conversation
This compose has no env_file, so a key written to a per-agent docker.env reaches the container ONLY if it is listed in the environment: block — the same rule already documented for the GMAIL_*/GCAL_* keys. HERE_NOW is a dashboard core API key (lib/agent-constants.ts) and the herenowPublishing skill needs it, but it was never allowlisted: agents with the key saved (projectmanager, raingame) see NO HERE_NOW in their runtime env and report the skill as unusable. Added to both service blocks (gateway + cli) with the :- default so agents without the key are unaffected. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
cryptolir
added a commit
that referenced
this pull request
Aug 3, 2026
…111) This compose has no env_file — a key written to a per-agent docker.env reaches the container only if allowlisted in the environment block (the GMAIL_*/GCAL_*/HERE_NOW pattern, see #110). The plusim-reports skill declares requires.env [PLUSIM_RUNTIME_URL, PLUSIM_RUNTIME_TOKEN], and the operator writes both into onlyclaw's docker.env — but without this allowlist entry the container never saw them, the skill's scripts could not authenticate, and every Plusim job 401'd at the manifest fetch. Verified on 1stClaw: with these two lines the container carries both vars and a bearer-authenticated manifest request passes the token gate. Co-authored-by: Liran Peretz <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Symptom
Agent
projectmanagerhas the HERE_NOW key saved in the dashboard and the herenowPublishing skill installed, but reports:Root cause — the documented allowlist rule, missed for this key
Verified on the US host:
docker.envhas the key:HERE_NOW=<64 chars>(projectmanager + raingame) — the dashboard saved it correctly.docker exec … env | grep HERE_NOW→ nothing.docker-compose.ymlhas noenv_file, so per-agentdocker.envkeys reach the container only when listed underenvironment:— exactly what the GMAIL_/GCAL_ comments say (fix(compose): forward GMAIL_* and GCAL_* into the gateway container #109).HERE_NOWwas never added.Same bug class as #109 (GMAIL_) and #23 (AGENTGLOB_RUNTIME_).
Fix
HERE_NOW: ${HERE_NOW:-}in both service blocks (openclaw-gateway+openclaw-cli), with the:-default so agents without the key are unaffected.Hosts additionally need this pulled/applied and the affected containers recreated (done separately — both hosts are currently behind main with a hand-patched compose).
@codex review
🤖 Generated with Claude Code