Skip to content

Shell streaming output ignores GOOSE_CLI_MIN_PRIORITY setting #6733

@rabi

Description

@rabi

Describe the bug

Shell output streamed via MCP logging notifications does not respect the GOOSE_CLI_MIN_PRIORITY environment variable setting. This causes shell streaming output to always be displayed regardless of the user's configured priority level.

To Reproduce
Steps to reproduce the behavior:

  1. Set GOOSE_CLI_MIN_PRIORITY to a value > 0.1 (e.g., 0.5)
  2. Run a goose session that executes shell commands
  3. Observe that shell streaming output is still displayed despite the priority setting

Expected behavior
When GOOSE_CLI_MIN_PRIORITY is set to a value greater than 0.0, shell streaming output should be suppressed (similar to how other log notifications respect this setting).

  • Version: 1.21.0
  • Extensions enabled: developer or any other extension using shell
  • Provider & Model: Not provider specific

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions