Repository navigation
fix(core): account for page progress in repeated clicks - #718
Open
tiancaihao wants to merge 1 commit into
Open
tiancaihao wants to merge 1 commit into
tiancaihao wants to merge 1 commit into
Conversation
Track normalized page states per repeated action so calendar and pager clicks can advance without being mistaken for stagnant loops. Retain loop detection for revisited states and value-based actions. Add execution regressions and opt-in real-browser calendar coverage. Fixes mozilla#640
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Repeated clicks on the same control can advance a calendar or pager, but the current action-only guard aborts them as a loop. Track observed page states alongside the existing semantic action signature, using the snapshots already captured by the agent.
timer/marqueeregions; keep compact fingerprints rather than historical snapshot strings.PR Type
Related issues
Fixes #640. The calendar regression follows the maintainer's reproduction (
13d77af).Testing
pnpm run check: formatting, all workspace typechecks and schema drift check pass; 1,610 tests passed, 6 skipped by default.pnpm run build: core, Chrome/Firefox extension builds and published package assembly pass.Aborted: Excessive repetition; it passes after this change.Limits
Snapshot novelty is a heuristic: unmarked dynamic content can still appear as progress. The overall iteration cap remains in place. Browser validation uses local fixtures rather than live-site evaluations.
Checklist
AI Usage
Prepared and verified with OpenAI Codex.