Repository navigation
Conversation
The deduplicate selector keeps its first tracker. Pass the tracker selected by triage first in proposals and recaps so the generated command preserves it after confirmation. Cover the renderer-to-selector handoff with both numeric orderings and exercise the kept-first command in the composition eval. Generated-by: Codex (GPT-6)
potiuk
approved these changes
Nov 10, 2026
potiuk
left a comment
Member
There was a problem hiding this comment.
Putting the kept tracker first in the PROBABLE-DUP handoff matches the deduplicate selector (dedupe <keep> <drop>), and the new tests drive both rendered commands through that selector in both numeric orders, so the fix is pinned where it matters.
This review was drafted by an AI-assisted tool and
confirmed by an Apache Magpie maintainer. The maintainer
approving this PR has read the findings and signed off. If
something feels off, please reply on the PR and a maintainer
will follow up.More on how Apache Magpie handles maintainer review:
Contributing guide.
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.
Summary
Type of change
Test plan
3fd660b0b1316f475044c05dae17c5b86a12165e, both rendered commands resolved tokeep=250, drop=212for the synthetic report. After the fix both resolve tokeep=212, drop=250.security-management(839) andskill-evals(248).keep=212, drop=250.prek run --all-files --skip workspace-pytest, including ruff, formatting, workspace mypy, lychee and plugin consistency. The actual Git hooks, scoped workspace pytest, and Magpie pre-first-PR checklist passed.RFC-AI-0004 compliance
Linked issues
Closes #2043
Notes for reviewers
PROBABLE-DUP comments posted before this fix still contain the old command.
Before copying one, check that the first argument matches the
Kept tracker:link, then confirm that the displayed tracker to close is the intended duplicate.The composition eval checks the command direction for its documented aliases and whitespace-separated numeric arguments.
The pytest cases cover the production handoff.
Generative AI disclosure
Codex assisted with the implementation, tests, and drafting.
The contributor reviewed the patch before submitting it.
AI-assisted commits carry
Generated-by:attribution.