Skip to content

fix(compose): forward PLUSIM_RUNTIME_URL/TOKEN into agent containers - #111

Merged
cryptolir merged 1 commit into
mainfrom
fix/forward-plusim-runtime-env
Aug 3, 2026
Merged

cryptolir merged 1 commit into
mainfrom
fix/forward-plusim-runtime-env

Conversation

@cryptolir

Copy link
Copy Markdown
Owner

Same pattern as #110 (HERE_NOW): this compose has no env_file, so a per-agent docker.env key reaches the container only if allowlisted in the environment: block.

The plusim-reports skill declares requires.env: [PLUSIM_RUNTIME_URL, PLUSIM_RUNTIME_TOKEN], and onlyclaw's docker.env carries 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 bare web_fetch, and every Plusim job died with 401 unauthorized at 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

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]>
@cryptolir
cryptolir merged commit a8b461f into main Aug 3, 2026
18 of 24 checks passed
@cryptolir
cryptolir deleted the fix/forward-plusim-runtime-env branch August 3, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant