Skip to content

hermes: optional engine redaction before retain #7199

Backlog

Description

@teamshift-automation

The Hermes memory provider (hindsight-integrations/hermes, v2.0.0) sends turn content to retain unchanged. Hermes already has a redactor (agent.redact.redact_sensitive_text, which plugins reach through ctx.redact_text), and the provider has no option to apply it before content leaves the agent.

Request: add an opt-in provider setting, for example retain_redact: engine, that runs the Hermes redactor over sync_turn, on_memory_write and the retain tool's content before the request is sent. It would be client-side defense in depth alongside a server-side minimum (#7169). It is not a replacement, because callers that talk to the API directly bypass it.

Why upstream: right now the only way to get this is to wrap or patch the provider in each deployment. That breaks on provider upgrades.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    integration:hermes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions