Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Auto model selection picks models too weak for Linux kernel patch-series work

未關閉
#4,917 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c, git, linux

研究方向

Start by tracing Auto model selection and the CLI's model visibility, then examine how sessions involving Linux kernel work, git rebase, commit splitting, and cross-architecture changes could be identified. Define how stronger models are selected and how commit-scope constraints are enforced. Done means the selected model is visible and the requested kernel workflows receive appropriate handling.

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

描述

triage

Across many sessions on Linux kernel patch series, Auto mode selects models in
the gpt-5.6-sol class that consistently fail at the core skill this work
requires: respecting commit boundaries and scope. This is a recurring pattern,
not a one-off. Stronger models handle the same tasks reliably.

Typical failure modes, all occurring with explicit standing instructions in
context ("fold changes into the relevant commit", "keep history bisectable",
"no functional change intended"):

  1. Scope creep inside code-motion commits. A commit meant to relocate code also
    introduces new abstractions or refactors. Correcting this usually takes
    several rounds, because the model re-expands scope after being told to
    narrow it.

  2. Silent deletion or open-coding of helpers. Existing static helpers get
    inlined away during "no functional change" commits - unrequested and
    unmentioned, discoverable only by manual diff review.

  3. Incomplete renames. A requested rename is applied to the obvious symbols but
    leaves related identifiers behind, often in other architectures or headers.

  4. Architecture-correctness misses. Code carrying one architecture's semantics
    is lifted into generic code and applied to others, without recognizing the
    semantics were not universal.

  5. Misread API shape. Instructions about where code should live (per-architecture
    copies vs. a shared implementation with wrappers) are inverted.

  6. Changing established semantics to fit the model's design. Long-standing
    function behavior is altered to make a new abstraction fit, instead of
    preserving behavior.

The common thread: these models optimize for a plausible-looking final tree and
treat the commit series as an implementation detail. For kernel work the series
is the deliverable.

Requests:

  • Weight Auto model selection toward stronger models for kernel/systems C work,
    especially sessions involving git rebase, commit splitting, or
    cross-architecture code.
  • Surface which model Auto selected, so a mismatch is visible before hours are
    spent.
  • Treat "fold into the relevant commit" and "no functional change intended" as
    hard constraints, not stylistic hints.

Kernel maintainers evaluating Copilot CLI judge it on whether a series is clean,
bisectable and correctly scoped. A model that quietly reshapes commits fails
that bar regardless of how good the final tree looks.

主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

貢獻指南

開啟貢獻指南

從這裡開始

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

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

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

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