Deferred follow-ups from the 2026-11 fix run
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 10/100
Direção de pesquisa
This issue bundles many deferred follow-ups across diff handling, terminal placement, reloads, tests, and tooling; it does not define one task to pick up. Start by asking the maintainer which specific follow-up is in scope and whether it is still needed, since the body says most items are already on main and work is deferred until the next fix run. For an agreed item, follow its named files or tests and verify only that item.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The maintainer stopped the 2026-11 fix run after its in-flight PRs. These follow-ups were found by reviews in that run and were not started. Each one below is deferred by that decision. Main already has every item listed here unless the item says otherwise.
Diff mode after close (found in #494 and #573 reviews)
The maintainer picked four small PRs, landed one at a time, for these:
- A user handler sets diff state while the proposal buffer is deleted (after
:b <proposal>andclose_tab), and the cleanup resets it. - A user's
:diffoff | diffthisin a:splitcopy, or a:tab splitcopy in another tab page: closing the diff ends the first and leaves the second. - Two diffs of one file: closing the first can end diff mode in the second or close its window.
- Legacy
diff.open_diff: aBufEnterhandler that moves the focus leaves diff mode on in the user's other window.
Diff close path
- After a reject (
:qor deny) andclose_tab, the cursor in the original window goes to line 1. After an accept it goes back to where the user was. (#573 post-merge check, M1) - After an accept with
:w, typing in the original window beforeclose_tabmakes the reload skip the buffer silently. A later:wstill gets Neovim's "file changed" prompt. Reproduce with timestamps first. (#573 post-merge check, M2) - From #485:
tests/integration/diff_new_tab_tabclose_stops_spec.luastill passes when its ownfnameescapeis removed, because an unescaped:splitunder a%TMPDIR opens a wrong empty buffer without an error (#485 verifier, m1). - From #485:
lua/claudecode/README.mdsays the split proposal window closes, but in a tab that stays open, after the user closed its file window, the proposal window keeps an empty buffer and stays (diff.luacleanup). The corrected:tabclosesentence still says "as on main" (#485 verifier, m2 and m3). - From #485:
lua/claudecode/README.mdsays no autocmd can enter the terminal while the release runs, but when the release keeps the terminal window, the finalWinEnterandBufEnterrun with it open (the diff's handler is already gone, so nothing breaks) (#485 advisor). - With the user in the diff tab, a split of the user's own in that tab closes with the tab. The buffer stays loaded and modified. Main does the same (#485 verifier, USERWIN-CLOSED).
- From #511:
lua/claudecode/README.mdcitesM._cleanup_diff_statefor the refusal of a replacing openDiff while the old diff waits for the window gate, butM.open_diff_blockingraises it (#511 verifier, n1). -
PROTOCOL.mdsays a replacing openDiff has "One exception". Since #511 it is also refused with -32000 while the user is inq:or under textlock (main already failed that call there). The header ofjourney-diff-replace-cmdwin.shsays Neovim refuses the new windows, but the replace loop refuses the call first, and the journey stops with vcn'suntilmessage instead of its ownFAIL:line (#511 advisor). -
close_tabfrom the command-line window: #511 holds the teardown behind the window gate, but the saved-diff reload still raises E11 inq:and E565 under textlock, and the file buffer stays unreloaded. Main is no better (#511 known limit).
Terminal placement (found while building #598)
- Native
ensure_visibleraisesInvalid window idwhen aBufLeaveautocmd closes the window the show started in while the split survives. - A
BufEnterorBufWinEnterautocmd of the terminal that closes Claude during a show raisesInvalid window id. - A
BufLeaveautocmd that runs:ClaudeCodeOpenduring a show shows the terminal in two windows (main leaves an extra split with the user's file instead). -
show_hidden_terminalcallsnvim_set_current_win(original_win)in its success path without a validity check. - The redirect on the Snacks provider's first start, and a
WinNewautocmd that opens and enters its own window during the split. - From #598's last verifier: the unchanged-file placement tests run only with 'hidden' off, so a mutant (V11) that skips the hide when 'hidden' is on passes every test while real Neovim then unloads or wipes that file (6 of 24 pairs). Add the 'hidden' on cases (m7).
- From #598's last verifier: the helper comment in
utils.win_set_buf_in_split,lua/claudecode/terminal/README.mdandAGENTS.mdsaybuffer!unloads a changed buffer when 'hidden' is off. Real Neovim keeps it, and only a 'bufhidden' ofunload,deleteorwipeloses the text. An unload keeps the marks, only a wipe loses them (d2). - From #598's verifier on
d3484a9c: no real-Neovim case covers a changed old buffer whose other window aBufLeaveautocmd closed, with 'bufhidden'unload,deleteorwipe. Its mutant dies only by one unit case (m4). - If #598 merges with its current design: a user autosave on
BufHiddenorBufWinLeavewrites the buffer that aBufLeaveautocmd put into the split, a raising autocmd on those events makes the placement raise, and a hidden-buffer cleanup removes that buffer. #598's body lists these as limits.
Diff replace loop and exit (found in #536 reviews)
- In the
accept_otherorder, a replaced diff refuses the earlier proposal with "Diff tab in use". No test catches that order (#536 verifier, m1). -
verify-diff-lifecycle/SKILL.mdline 138 says more than the model checks (#536 verifier, m2). - A user
FileTypehandler that closes the proposal window during setup leaves two windows in diff mode. A singleopenDiffon main does the same (#536 verifier, F1). - A call that registers while Neovim exits gets no answer from
cleanup_at_exit. #536 leaves about 1 such call per run. Main left 337 unanswered calls in 288 runs (#536 verifier, P2). - A
WinClosed,BufWipeoutorBufHiddenhandler that runs the event loop while a diff is cleaned up lets another call register, and the last step of_cleanup_diff_statecan remove it without an answer. Main does the same (#536 "Not in this PR").
Reload proposal names (found in #512 reviews)
- A plugin reload inside a diff's setup leaves the diff open in the old module (main's reload-during-setup behavior, F1). With a leftover buffer under the diff's name (#512, R1L), close-all also leaves an extra tab and windows. #536 was narrowed and dropped this step.
- Neovim 0.8.0, unified layout: a
FileTypehandler that runs the event loop during setup, with a leftover buffer, leaves a hidden proposal buffer loaded until the next openDiff renames it (#512, V3x). - An openDiff from a
TextYankPosthandler fails with E565, and in the split layout a later openDiff in the same tab gets E95, on main too (#512 a1 verifier, F2).
Terminal close wait (found in #602 reviews)
-
verify-terminal-lifecycle/check.sh:NativeCloseClearsMarkdoes not check that the mark clear comes before the exec wait. A unit test catches that mutant, the model does not (#602 verifier, f1, on main since #544). - Comment and doc wording from #602:
proof-pty-child-hangup.shsaysluafileends a name at a space (both builds load such a path,LD_PRELOADis what splits),verify-terminal-lifecycle/SKILL.mdsays no fact reads the calls inM.close(SnacksCloseClearsMarkdoes), and theJobEndedcomment inTerminalLifecycle.tlastill says jobstop already ran (#602 verifier, n1 to n3). -
lua/claudecode/terminal/README.md: thesnacks.closebullet says only that the close forgets the terminal. It does not say that the close also clears the start mark before the exec wait (#602 advisor).
Test and tooling
-
covered.lockhashes all ofdiff.lua, so unrelated diff PRs must land one at a time. Hash per block instead. - Integration runner under bash 3.2 (the macOS default): a Ctrl-C during the cleanup's
$(mktemp ...)after an error exit makes the runner exit 130 instead of dying from SIGINT, so a calling loop goes on. Main has the same (#605 verifier, F2). - Integration runner (from #605):
scripts/README.mdand the runner comment say the grave cleanup "never" removes a folder it did not make, but storing the name beforemkdirallows it in a forced race, and in that race a nested cleanup could also kill a process group whose id it reads from that folder (F1, #605 advisor). The kill-before-delete test checks nothing on a host withoutps(F3). - Integration runner: if the work folder rename fails during cleanup, a launcher that runs while
rmis half way can start a Neovim that outlives the runner (main has the same race, #592 review). -
tests/integration/pty_child_exec_spec.lua: aread_procthat reads only the first byte is caught only by a timing-dependent case, and the spec header does not list the two cases #597 added. -
tests/unit/workflow_cache_spec.luareads the workflow as text. YAML aliases, escapes and expression paths are not read, by design (see #591 and #596). A false pass: when thewith:entries sit at indent 9, a quoted value that continues on a deeper line holdingcache: falseis read as thecacheinput (#604 verifier, F2). -
proof-static.shdoc-get-exact(from #576): the doc count counts loop passes, not what the scan reads, so a doc skipped after the count is not caught (#576 verifier, N1). -
proof-static.shdoc-get-exact(from #576): any other.mdfile in the skill, a dot-named one included, fails the check. The script header and the skill do not say so, and the message does not print the countfindgot (#576 verifier, N2). -
proof-static.shdoc-get-exact(from #576): every must-fail sample names onlyOUT,WORKorVCN_STATE, so a pass list that wrongly adds a path word (such asNVIM_SOCK) or drops its$anchor stays green. Add a must-fail sample with another path word and one whose name starts with a pass word, such asPORT_FILE(#576 verifier, m4). -
proof-static.shdoc-get-exact(from #576): read double-backtick spans and inline<code>, and treatget<as a word (#576 verifier, m2). Also a line that ends in an escaped backslash joins the next line, so a following bareget OUTreads asxget OUTand passes (#576 advisor). -
proof-static.shcomments and theSKILL.mddescription ofdoc-get-exactstill use the wider wording that the #576 body narrows (#576 verifier, m6). -
vcn.shandproof-launch-refusals.shleftovers from the #545 reviews (TMPDIR outside /tmp, Neovim 0.8 leaving$TMPDIR/nvim.$USER). No longer blocked: #578 merged as6ad8e0fdon 2026-11-16.
Other open work
- #447 PR C.
- The leftovers of #511 that its own PR does not cover.
Owner: ThomasK33. Trigger: the next fix run on this repository.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Linguagem predominante
- Lua
- Estrelas
- 3.2k
- Forks
- 223
- Merge médio
- 7h 18min
- PRs com merge (30d)
- 234
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de coder/claudecode.nvim
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
coder/claudecode.nvim#599 ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 84/100
coder/claudecode.nvim#595 ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
coder/claudecode.nvim#588 ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
coder/claudecode.nvim#587 ·
Mantenedores costumam responder em até 1 dia
-
bug needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
coder/claudecode.nvim#313 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de coder/claudecode.nvim
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Kohei-Wada/ttymap#429 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
fw876/helloworld#2097 · 2 comentários ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
diivi/aseprite-mcp#43 ·
-
Data Correction Forever
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Tailoring guide bugAbertabug discord guide:tailoring locale:enUS needs-info v4.2.1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
fitzforge/polestar#3708 · 2 comentários ·
Mantenedores costumam responder em até 1 dia