Skip to content

Hermes API server waits for terminal approval in unattended E2E #9528

Closed as not planned

Description

@rsliter

Summary

The Hermes open-egress E2E reached the model and received HTTP 200, but its Python heredoc required terminal approval. Hermes 0.19 deliberately classifies interpreter heredocs as dangerous. NemoClaw sets approvals.mode: manual, and the unattended API-server session has no person to approve that command.

This is a deterministic mismatch between the test command and the supported Hermes approval policy. It does not justify a Wikidata-specific product wrapper or approval exception.

Current evidence

The pinned Hermes v0.19 approval tests classify a plain curl URL -o FILE command as non-dangerous. They separately classify interpreter heredocs and remote-content execution as dangerous.

Required behavior

  1. Preserve NemoClaw's explicit approvals.mode: manual policy and all existing Hermes approval guards.
  2. Change the existing C3 live E2E to request one bounded direct curl command that fetches the approved Wikidata endpoint into a temporary result file.
  3. Use the persisted Hermes session record as primary evidence. Require exactly one terminal tool call with the exact command, no other tool calls, and one linked successful tool result.
  4. Validate the fetched JSON file as secondary evidence. Do not use conversational response text as the success boundary.
  5. Run one agent attempt. Do not retry the model response or complete workflow for this deterministic contract.

Acceptance evidence

  • Deterministic support tests accept one exact terminal call with one linked successful result.
  • Deterministic support tests reject duplicate calls, other tools, a changed command, mismatched result identity, nonzero or malformed results, malformed or oversized session responses, and invalid session identifiers.
  • Failure artifacts contain only bounded status, counts, and Boolean fields. They do not contain the API key, session identifier, prompt, raw messages, tool arguments, terminal output, chat body, or fetched body.
  • The existing C3 live E2E passes with the pinned Hermes image and proves both the persisted terminal execution and the fetched Wikidata result.
  • agents/hermes/**, the managed approval policy, and the Hermes image build remain unchanged.

Non-goals

  • Adding a Wikidata-specific product wrapper, policy file, or Hermes source patch.
  • Changing approvals.mode, approvals.deny, command_allowlist, cron approval, or global tool approval.
  • Auto-approving arbitrary terminal actions.
  • Adding another live E2E target.
  • Retrying the model response or the complete workflow.
  • Treating HTTP 200 or assistant response text as proof that the terminal action ran.

Related work

Release signal

Classification: deterministic E2E contract failure. The release candidate remains blocked until the existing C3 target proves the terminal action and fetched result without changing product approval behavior.

Activity

  1. self-assigned this
    on Aug 18, 2026
  2. added
    area: security
    integration: hermes
    on Aug 18, 2026
  3. added theissue type on Aug 18, 2026
  4. added
    area: e2e
    and removed on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: e2earea: securityintegration: hermes

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions