Skip to content

Add output size limits and sensitive-output warnings #5

Description

@davidweb3-ctrl

Add guardrails for large command output and potentially sensitive Git output so maintainers can use the server more safely in AI-assisted workflows.

Acceptance criteria:

  • Define output-size limits for tools that can return large diffs, logs, or file lists.
  • Warn when output may contain secrets, tokens, private remotes, or local filesystem details.
  • Prefer truncation with clear continuation guidance over unbounded output.
  • Include tests for truncation and warning behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceRepository maintenance and operational healthneeds-triageNeeds maintainer triage before implementationsecuritySecurity hardening or sensitive-output handling

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions