Skip to content

Deduplicate Strategy research state losslessly - #220

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/strategy-prompt-lossless-dedup-0721
Jul 21, 2026
Merged

Deduplicate Strategy research state losslessly#220
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/strategy-prompt-lossless-dedup-0721

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • intern repeated statements, evidence, frontiers, and hypotheses once in text_by_id
  • replace duplicate copies with exact references while preserving every unique semantic unit
  • keep the 8192-token hard admission limit without truncation or summary

Test plan

  • targeted AutoResearch tests: 44 passed
  • verify duplicate exact text appears once and all refs resolve to the original

The uncommitted candidate.py file is active runtime state and is excluded.

Made with Cursor

Intern repeated branch statements and evidence once so the complete active research state fits its hard Prefill budget without truncation or summarization.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 21, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit a6c2a11 into main Jul 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant