Skip to content

Stale Output Elision (History Pruning) #21891

@joshualitt

Description

@joshualitt

Introduce a mechanism to retroactively collapse tool outputs that are no longer relevant. For instance, if read_file outputs 500 lines, and the agent subsequently uses replace to rewrite that file, the original read_file output in the history can be safely replaced with [Content elided - File subsequently modified].

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitypriority/p2Important but can be addressed in a future release.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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions