[External Plugin]: already-fixed

未關閉
#6,754 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github, javascript, node.js
領域
tooling

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
JavaScript
星號
41.8k
分支
5.5k
平均合併
1 天 17 小時
30 天內合併 PR
149

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/awesome-copilot 的其他 Issue

查看 github/awesome-copilot 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。