Skip to content

/policies command lists "yolo" policy when not active #16455

Description

@allenhutchison

Description
The /policies command (or visualizer) appears to be listing policies that should only be active in "yolo" mode (e.g., policy #3 in the user's list), even when "yolo" mode is not currently active for the session.

Reproduction Steps

  1. Start a Gemini CLI session in a standard (non-yolo) mode.
  2. Run the /policies command to list active policies.
  3. Observed Behavior: The list includes policies that are specific to "yolo" mode (which allows all tool calls).
  4. Expected Behavior: /policies should only display the policies that are currently active and enforced for the current execution mode.

Context

Activity

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

Metadata

Metadata

Labels

area/enterpriseIssues related to Telemetry, Policy, Quota / Licensingstatus/need-triageIssues that need to be triaged by the triage automation.workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions