Skip to content

bug(privacy): --anonymize sends workload identifiers to the multi-agent council #425

Open

Description

@utkarsh232005

Description

The --anonymize option masks failure text before it is sent to an AI provider, but the multi-agent council receives a separate context object that contains the original workload name and namespace.

Impact

Users selecting anonymization can still disclose identifying cluster metadata to the council model or a configured remote endpoint. This conflicts with the option description and makes it difficult to use the command for sensitive environments.

Expected behavior

With --anonymize, every externally sent council field should be anonymized or omitted, including names, namespaces, label selectors, resource identifiers, and failure text. The local output may restore values only after the response returns.

Acceptance criteria

  • Build council context from the same anonymization mapping used for the prompt.
  • Omit identifying fields when they are unnecessary for diagnosis.
  • Add tests that inspect the bridge request and confirm raw names and namespaces are absent.
  • Document the exact anonymization boundary for local and remote providers.
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

    bugneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions