Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#4,917 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c, git, linux

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/copilot-cli

Todas as issues de github/copilot-cli

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.