[External Plugin]: already-fixed

Ouverte
#6,754 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github, javascript, node.js
Domaine
tooling

Piste de recherche

Review the submission at ref v0.1.3 and commit 8f3830f0a21c5465b21be04d52b43a53d1d88786 in levantolabs/already-fixed. Start with the plugin files listed in the issue: plugin.json, skills/already-fixed/SKILL.md, skills/already-fixed/scripts/already-fixed.mjs, and .claude-plugin/marketplace.json; inspect the eval/ fixtures and results.md for the reported checks. Done means deciding whether this external plugin submission meets this repository's contribution, security, and responsible AI policies.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

external-plugin ready-for-review third party
Plugin name

already-fixed

Short description

Find open issues your commits already fixed. Matches each issue to the commit that fixed it, checks the fix is still in the code, and drafts the closing comments for you to approve.

GitHub repository

levantolabs/already-fixed

Plugin path inside the repository

No response

Ref to review

v0.1.3

Commit SHA to review

8f3830f0a21c5465b21be04d52b43a53d1d88786

Version

0.1.3

License identifier

MIT

Author name

Levanto

Author URL

https://github.com/levantolabs

Homepage URL

https://github.com/levantolabs/already-fixed

Keywords

issues
backlog
triage
git
github
maintainers

Additional notes for reviewers

The problem. Every active repo has open issues that a commit fixed months ago without saying "Fixes #123", so GitHub never closed them. Finding them means matching issues to fixes across the whole history. The issue and its fix often share no words ("Windows: backslash links not found" vs "normalize separators before resolving local links"). The fix may be partial, reverted later, or aimed at the neighbouring bug. Asked directly, Copilot greps for words and reads diffs one by one. It misses fixes, or spends most of its time on history that doesn't matter.

What the plugin adds: a method, split between a script and the agent.

  1. Code does the recall. A zero-dependency Node script takes, for each issue, only the commits made after the issue was opened. It shortlists them by shared code identifiers, file names and words, flags reverts, and records the first release that contains each commit. Copilot starts from a short candidate list per issue, not the whole log.
  2. Copilot does the precision, with a verification protocol. Find where the reported behaviour comes from in today's code. Name the lines in the diff that remove it. Check nothing later undid it (git log <sha>..HEAD -- <files>). Run a quick test when one exists. If Copilot can't name the lines, the verdict is check, not fixed.
  3. Three verdicts, because a wrong close costs more than a short list. fixed, check and open. Each fixed issue gets its commit, its release and a closing comment a maintainer would sign, plus the gh issue close command, which the plugin never runs.

Does it help? Tested in Copilot CLI (1.0.117, copilot -p) on two repositories with known answers. One is vitejs/vite cut at 2026-10-15: 622 commits and 27 open issues written from real fixes, 14 fixed before the cut, several next to a look-alike fix. The other is a small synthetic project with a revert, a partial fix and a neighbouring-bug fix as traps. On vite with DeepSeek V4 Flash, 3 runs each, the plugin found the same fixes as Copilot alone (13 of 14). It took half the time (4–8 vs 7–11 minutes), left 1–3 issues to check by hand instead of 5–8, and closed nothing wrongly. With GLM-5.3 the plugin found 14 and 13 of 14 with no wrong closes; Copilot alone was still reading history after 90 minutes. Full tables: https://github.com/levantolabs/already-fixed/blob/v0.1.3/eval/results.md. The fixtures, ground truth, runner and scorer are in eval/, so you can rerun them.

No account needed. Everything above works without a key, and the numbers are from that path. Setting LEVANTO_API_KEY adds an optional ranking step through Levanto's API for large histories; the README says what it sends.

Disclosure. I'm a cofounder of Levanto. Our earlier submission (#6664, our API skills) was rejected as API promotion, fairly. This one is a workflow that stands on its own; the API is an optional step.

Contents. plugin.json (Agent Plugins 1.0.0), skills/already-fixed/SKILL.md, skills/already-fixed/scripts/already-fixed.mjs, and .claude-plugin/marketplace.json. No hooks, MCP servers or agents. The script reads the repository and writes only to .already-fixed/. @microsoft/vally 0.20.0 lint passes, and copilot plugin install already-fixed@already-fixed installs it.

Submission checklist
  • The plugin lives in a public GitHub repository.
  • The ref and/or sha I provided is immutable (release tag and/or full 40-character commit SHA), not a branch.
  • This submission follows this repository's contribution, security, and responsible AI policies.
  • This plugin is not already listed in the Awesome Copilot marketplace.
Langage dominant
JavaScript
Étoiles
41.8k
Forks
5.5k
Merge moyen
1 j 17 h
PR mergées (30 j)
149

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/awesome-copilot

Toutes les issues de github/awesome-copilot

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.