feat(issue): interactive duplicate-picker pane mod for issue-deduplicate
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python, typescript
- Área
- ai-infra-agents, devtools
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.pymust registermagpie-issueinCODEX_FAMILY_HOOKSwith 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.tsandplugins/magpie-release-management/hooks/verify-rc-pane.ts - Mod guidelines:
docs/when-to-use-mods.md
- Lenguaje dominante
- Python
- Estrellas
- 152
- Forks
- 133
- Merge medio
- 12 h 39 min
- PR fusionados (30 d)
- 384
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/magpie
-
vote-tally: date_order_mismatches compares ISO dates as text, so UTC offsets are misreadPosiblemente ocupada @leninworld la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
release-verify-rc: the Nexus staging id shape refuses Maven's maven-NNNN idsPosiblemente ocupada @Anurag-S1ngh la tomó hace 3 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
family:tools substrate:sandbox
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
apache/magpie#2176 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
ci: start each shipped tool once from its packaged plugin copyPosiblemente ocupada @Anurag-S1ngh la tomó hace 3 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
Los mantenedores suelen responder en 1 día
-
capability:fix capability:intake family:docs family:security family:tools substrate:sandbox
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/magpie
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
OpenFreeEnergy/openfe#2371 ·
Los mantenedores suelen responder en 2 días
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
NCATSTranslator/Babel#1269 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
404 on sample dataAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100