Skip to content

Flight scrubber backstops refuse ordinary content that looks encoded, and the refusal repeats for the rest of the run #2527

In review

Description

@abrichr

The flight scrubber's encoded-data backstops (PR #2493: dense_payload, low_diversity and the joined-request check in flight/scrub.py) refuse a request when text looks like encoded data. That fails closed, but reviews found ordinary content that trips it:

  • a newline-separated list of 30 git SHAs;
  • 40 tool results of 22 random mixed-case characters;
  • 150 blocks of camelCase identifiers.

An agent's history is resent on every request, so one refused turn makes every later request in the run refuse too, and the run stops.

Possible directions: exempt content already seen and allowed earlier in the run (by digest), tune the joined-check thresholds on real agent traces from more than one app, and report the refusal to the agent in a way that lets it drop the offending tool result.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions