feat(issue): interactive duplicate-picker pane mod for issue-deduplicate

オープン
#2,075 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Kaap10 がすでに取り組んでいます。

2026年11月15日 から。

  • #2080 @Kaap10 による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, typescript

調査の方向性

Start from the reference panes in plugins/magpie-pr-management/hooks/review-findings.ts and plugins/magpie-release-management/hooks/verify-rc-pane.ts, and from docs/when-to-use-mods.md for the mod rules. Then read the issue-deduplicate and issue-triage skills under plugins/magpie-issue and tools/dev/check-family-plugins.py for the CODEX_FAMILY_HOOKS registration. Done means the pane stages a decision file without touching GitHub, falls back cleanly on Codex and Gemini, and passes the pre-commit family check. The design of the IPC files and the sanitization policy still needs maintainer agreement first.

索引モデルが issue の本文から書いたものです。

説明

capability:resolve enhancement family:ci family:dev family:docs family:issue family:setup family:tools substrate:framework-dev
What should happen

An interactive duplicate-picker side pane mod should be added to plugins/magpie-issue for issue-deduplicate (and issue-triage). When duplicate candidate issues are detected, the mod renders an interactive Pane showing the target issue alongside candidate duplicates (with similarity scores, timestamps, and excerpts), allowing maintainers to inspect and stage their choice ("Select as Kept", "Mark as Duplicate", or "Dismiss") without verbose chat round-trips.

Why

Following the Claude Code mods roadmap outlined in #1497 and the established interactive pane patterns in magpie-pr-management (review-findings.ts) and magpie-release-management (verify-rc-pane.ts), issue deduplication currently outputs multi-candidate comparisons directly into the chat transcript. This burns excessive context-window tokens and requires multi-turn back-and-forth. An interactive side pane moves visual comparison out of the model's context window.

Which layer

Skill (.claude/skills/<name>/)

Boundary conditions (optional)
  • Two-Way Filesystem IPC: Communication between the agent and mod must use explicit, gitignored session files (.magpie-issue-candidates-<target>.json -> .magpie-issue-decision-<target>.json).
  • Strict HITL Gate: Clicks in the UI pane must only stage the decision artifact on disk; they must never directly trigger mutations against GitHub. The skill's Step 3 remains the sole authoritative gate requiring explicit maintainer confirmation before any issue is closed or commented on.
  • Untrusted Content Sanitization: Candidate titles and excerpts originate from external reporters and must be strictly sanitized/escaped before rendering in the pane DOM.
  • Vendor Neutrality: The mod must be strictly additive. When run on Codex, Gemini CLI, or non-interactive environments, skills must fall back cleanly to terminal CLI/chat prompts.
  • Packaging Parity: tools/dev/check-family-plugins.py must register magpie-issue in CODEX_FAMILY_HOOKS with an empty hooks object so Codex manifest generation passes pre-commit checks cleanly.
Out of scope (optional)
  • Autonomous closing of duplicate issues without maintainer confirmation.
  • Direct network calls or GitHub API mutation reach from within the mod.
  • Modifying how non-Claude harnesses handle deduplication.
References (optional)
  • Parent discussion: #1497 (Explore Claude Code mods across the skill families)
  • Reference implementations: plugins/magpie-pr-management/hooks/review-findings.ts and plugins/magpie-release-management/hooks/verify-rc-pane.ts
  • Mod guidelines: docs/when-to-use-mods.md
主要言語
Python
スター
152
フォーク
133
平均マージ
12時間 39分
マージ済み PR(30日)
384

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/magpie のほかの issue

apache/magpie の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。