Repository navigation
Conversation
_Generated with xum • Model: anthropic:claude-sonnet-5-5 • Thinking: xhigh_
…options
The snacks provider wrote vim.bo[buf].filetype after Snacks.terminal.open.
That write broke 13 snacks unit specs, whose vim mock has no `bo`. It also
had two real defects. Snacks set its own `snacks_terminal` filetype first,
so a FileType autocmd ran twice. Snacks applies `bo` again when it
re-creates a window the user closed, so the filetype went back to
`snacks_terminal`.
Give the Snacks window the default `bo = { filetype = "claudecode" }`
instead. `snacks_win_opts` is deep-merged over it, so
`snacks_win_opts.bo.filetype` overrides the default and `"snacks_terminal"`
restores the Snacks filetype. Add specs for the default, both overrides and a
partial `bo` table.
covered.lock: re-recorded. STALE listed only native.lua and snacks.lua as
changed files, with no changed block or call site. The two edits set a buffer
filetype and reach no diff state, openDiff answer, disconnect or diff command.
_Generated with xum • Model: anthropic:claude-sonnet-5-5 • Thinking: xhigh_
Add a README section with the buflisted example from #201 and the snacks_win_opts opt-out (`bo = { filetype = "snacks_terminal" }`). Note that the snacks provider replaces the `snacks_terminal` filetype for the Claude buffer. Record both providers' behavior in the terminal providers README. _Generated with xum • Model: anthropic:claude-sonnet-5-5 • Thinking: xhigh_
…ative timing Findings from an independent review of the head: - README and the terminal README now say that only snacks_win_opts changes the snacks filetype. A bo.filetype in the global snacks.nvim config or in a named style does not apply to the Claude buffer. - They also say that a window option set in a FileType handler does not reach the Claude window with snacks, because Snacks applies bo before it opens the window. Use snacks_win_opts.wo. - Snacks applies bo again only when it re-creates a floating window itself. A split is re-created with vsplit, so FileType does not fire again for it. - Add three native specs: one write on the job's buffer, none after a failed start, none when a hidden terminal is shown. covered.lock: re-recorded. STALE listed only the snacks.lua file hash, from a comment edit. _Generated with xum • Model: anthropic:claude-sonnet-5-5 • Thinking: xhigh_
|
@codex security review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Mirror for the Codex security lane only. The original PR has merged, so I am closing this mirror and deleting its branch. Generated with |
Do not merge. This draft PR mirrors the exact head of fork PR #202 (
9f9a3c1415b64623473554fc0a0cf34a1e71a396) on a branch in this repository, because the Codex security review never answered on the fork PR. It exists only to get that review on the same commit. It will be closed, and the branch deleted, once the review is in.Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high