Skip to content

chore: Codex security review mirror of #202 (do not merge) - #443

Closed
ThomasK33 wants to merge 5 commits into
mainfrom
codex-mirror/fork-pr-202
Closed

ThomasK33 wants to merge 5 commits into
mainfrom
codex-mirror/fork-pr-202

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

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

Eric Haynes and others added 5 commits February 26, 2026 22:32
_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_
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-10T08:20:42.457891Z 9f9a3c1 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 9f9a3c1415

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ThomasK33

Copy link
Copy Markdown
Member Author

Mirror for the Codex security lane only. The original PR has merged, so I am closing this mirror and deleting its branch.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

@ThomasK33 ThomasK33 closed this Nov 10, 2026
@ThomasK33
ThomasK33 deleted the codex-mirror/fork-pr-202 branch November 10, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant