Skip to content

Persist semantic audit before candidate rollback - #223

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/semantic-ancestor-rollback-0721
Jul 21, 2026
Merged

Persist semantic audit before candidate rollback#223
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/semantic-ancestor-rollback-0721

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • run semantic duplicate audit in the supervisor before candidate selection
  • persist rejected subtrees before taking rollback snapshots
  • select the nearest unresolved ancestor when the current target was rejected

Test plan

  • targeted AutoResearch tests: 48 passed
  • rollback ordering regression
  • rejected descendant selects nearest valid ancestor rather than an unrelated leaf

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

Made with Cursor

Audit duplicate subtrees before candidate selection and rollback snapshots so rejected descendants stay rejected and the host resumes from the nearest valid ancestor.

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 7e178cf 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