Skip to content

[MM-26] Add bounded provider-overflow recovery #806

Closed

Description

@bug-superman

MM-26: Add bounded provider-overflow recovery

Parent

#771

Checkpoint

MC-8 Context recovery

What to build

Classify prompt-too-long errors and run bounded emergency recovery that removes old tool bodies or selects source-bearing compact input without mutating the transcript.

Acceptance criteria

  • Recovery retries are capped.
  • Recent unresolved tool results remain protected.
  • Emergency changes do not modify RuntimeEvent history.
  • Invalid recovery summaries fail explicitly.
  • Normal strategy and emergency metrics are separate.

Required tests

  • Provider error variants
  • retry cap
  • recent tool protection
  • invalid summary
  • impossible recovery

Benchmark

Fault-injected long tool loops; recovery >=95%, normal benchmark overflow zero.

Blocked by

Rollout and rollback

Disable emergency summary and use deterministic bounded failure handling.

Activity

  1. Astro-Han commented on Aug 2, 2026

    @Astro-Han
    Contributor

    Superseded by #1615 (automatic long-term memory lifecycle, SQLite-based; accepted by maintainers 2026-07-30, PR ① #1770 merged). This MM-26 work item never landed outside draft PR #820 and is replaced by the #1615 design and its LongMemEval/MSC evaluation plan.

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