Repository navigation
fix(compose): forward PLUSIM_RUNTIME_URL/TOKEN into agent containers - #111
Merged
Merged
Conversation
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: 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.
Same pattern as #110 (HERE_NOW): this compose has no
env_file, so a per-agentdocker.envkey reaches the container only if allowlisted in theenvironment:block.The
plusim-reportsskill declaresrequires.env: [PLUSIM_RUNTIME_URL, PLUSIM_RUNTIME_TOKEN], and onlyclaw'sdocker.envcarries both — but they were never allowlisted, so the container had neither. Result: the skill's scripts couldn't attach the bearer, the model fell back to a bareweb_fetch, and every Plusim job died with401 unauthorizedat the manifest fetch. This has been broken since the compose moved to the allowlist pattern.Both service blocks get the pair,
:-default like the GMAIL/GCAL keys so agents without the skill see empty strings and no compose warning.Verified on 1stClaw (the same edit applied locally): the recreated container carries both vars, and a manifest request with the bearer passes the token gate (404 for a fake job id instead of 401). The local edit on the box should fall away cleanly once this merges — next deploy fast-forwards to identical content.
🤖 Generated with Claude Code