Skip to content

fix(skills): stop marking persisted env vars missing on remote backends#3650

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-ec5223e1
Mar 29, 2026
Merged

fix(skills): stop marking persisted env vars missing on remote backends#3650
teknium1 merged 1 commit into
mainfrom
hermes/hermes-ec5223e1

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of PR #3452 (kentimsit).

Removes the remote-backend short-circuit in skill_view() and _remaining_required_environment_names() that marked ALL required env vars as missing on Docker/SSH/Modal/Daytona/Singularity backends — even when the vars were already persisted in ~/.hermes/.env.

Skills now correctly show setup_needed=false when vars are available, regardless of backend.

81 skill tests pass.

Note: This fixes the readiness check only. The actual forwarding of env vars into remote containers is a separate mechanism (docker_forward_env config) that doesn't yet auto-populate from the skill passthrough registry — tracked as a future enhancement.

Fixes #3433. Closes #3452.

Co-Authored-By: kentimsit kentimsit@users.noreply.github.com

Removes the remote-backend short-circuit that marked ALL required env
vars as missing regardless of whether they were persisted in .env.
Skills now correctly show setup_needed=false when vars are available,
regardless of backend (docker, ssh, modal, daytona, singularity).

Also removes the unused backend parameter from
_remaining_required_environment_names() since the remote-backend
early return was the only consumer.

Fixes #3433.
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Supply Chain Risk Detected

This PR contains patterns commonly associated with supply chain attacks. This does not mean the PR is malicious — but these patterns require careful human review before merging.

⚠️ WARNING: Install hook files modified

These files can execute code during package installation or interpreter startup.

Files:

hermes_cli/setup.py

Automated scan triggered by supply-chain-audit. If this is a false positive, a maintainer can approve after manual review.

@teknium1 teknium1 merged commit 1a032cc into main Mar 29, 2026
1 of 2 checks passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…ds (NousResearch#3650)

Salvage of PR NousResearch#3452 (kentimsit). Fixes skill readiness checks on remote backends — persisted env vars are no longer incorrectly marked as missing.

Co-Authored-By: kentimsit <kentimsit@users.noreply.github.com>
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…ds (NousResearch#3650)

Salvage of PR NousResearch#3452 (kentimsit). Fixes skill readiness checks on remote backends — persisted env vars are no longer incorrectly marked as missing.

Co-Authored-By: kentimsit <kentimsit@users.noreply.github.com>
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
…ds (NousResearch#3650)

Salvage of PR NousResearch#3452 (kentimsit). Fixes skill readiness checks on remote backends — persisted env vars are no longer incorrectly marked as missing.

Co-Authored-By: kentimsit <kentimsit@users.noreply.github.com>
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…ds (NousResearch#3650)

Salvage of PR NousResearch#3452 (kentimsit). Fixes skill readiness checks on remote backends — persisted env vars are no longer incorrectly marked as missing.

Co-Authored-By: kentimsit <kentimsit@users.noreply.github.com>
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…ds (NousResearch#3650)

Salvage of PR NousResearch#3452 (kentimsit). Fixes skill readiness checks on remote backends — persisted env vars are no longer incorrectly marked as missing.

Co-Authored-By: kentimsit <kentimsit@users.noreply.github.com>
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.

[Bug]: required_environment_variables are not passed through correctly for remote-backed sessions (daytona, docker, etc.)

2 participants