Skip to content

feat(studio): consistent SSH restrictions with approved-server allowlist - #10642

Merged
mahiatlinux merged 54 commits into
unslothai:mainfrom
Souravrajvi0:feat/ssh-approval-policy-702c
Sep 16, 2026
Merged

mahiatlinux merged 54 commits into
unslothai:mainfrom
Souravrajvi0:feat/ssh-approval-policy-702c

Conversation

@Souravrajvi0

@Souravrajvi0 Souravrajvi0 commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #10397 by making SSH restrictions consistent across terminal commands and Python libraries, while allowing users to explicitly approve deployment targets.

Previously, Unsloth hard-blocked ssh / scp / sftp at execution time (even after the user approved the tool call), but Python SSH libraries such as paramiko, asyncssh, and fabric could bypass the same policy—especially with dynamic hostnames.

This PR gates both paths behind a per-session approved-server allowlist.

Problem

  • ssh user@host was always rejected at runtime (Blocked command(s) for safety: ssh)
  • paramiko.SSHClient().connect(hostname) with a variable host could slip through static analysis
  • No way to approve a specific server for deployment workflows after reviewing the tool call

Solution

Consistent blocking

  • Remove ssh / slogin / scp / sftp from the unconditional hard blocklist
  • Apply the same approved-host policy to:
    • Terminal: ssh, scp, sftp
    • Python: paramiko, asyncssh, fabric connect/connection patterns
  • Fail closed on dynamic hosts (ssh $HOST, connect(hostname)) until a literal host is approved

Approved-server workflow

  1. Model proposes ssh [email protected] ./deploy.sh (or equivalent paramiko code)
  2. User is prompted in ask/auto permission mode
  3. On Allow, the target host is recorded for the sandbox session
  4. The command runs; subsequent SSH usage to that host is allowed for the session

API

  • POST /api/inference/ssh-approve — explicitly approve host(s) for a session
  • GET /api/inference/ssh-approved — list approved hosts for a session

Key files

File Change
studio/backend/core/inference/ssh_policy.py Host extraction + access checks
studio/backend/state/ssh_approvals.py Per-session approved host store
studio/backend/core/inference/tools.py Integrate policy into _bash_exec, _python_exec, _check_code_safety
studio/backend/core/inference/studio_tool_loop.py Auto-approve hosts when user allows a gated call
studio/backend/tests/test_ssh_policy.py 18 tests covering extraction, gating, and execution

Follow-ups (out of scope)

  • Frontend copy showing which server is being approved (e.g. "Allow SSH to prod.example.com")
  • Persist approved hosts across sessions / settings UI

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e187ca0ada

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread studio/backend/state/ssh_approvals.py Resolved
Comment thread studio/backend/core/inference/tools.py Resolved
@danielhanchen

Copy link
Copy Markdown
Member

This drops ssh, scp and sftp from the blocklist that _find_blocked_commands resolves shell quoting for, and the new check in ssh_policy.py matches the raw command text instead, which is why test_ansi_c_quoted_command_blocked had to lose its ssh assertion. Could you make the new gate run on the same resolved token list so the ANSI-C quoted form is still caught, and keep that test?

Souravrajvi0 and others added 4 commits September 10, 2026 05:06
Unsloth previously hard-blocked ssh/scp/sftp while Python SSH libraries
like paramiko could bypass the same policy. Gate both terminal and python
SSH usage behind a per-session approved-host allowlist, auto-approve targets
when the user allows a gated tool call, and expose /ssh-approve endpoints.

Fixes unslothai#10397
Run ssh_policy on the same ANSI-C-decoded shlex token list as
_find_blocked_commands so $'ssh' user@host is still caught at command
position. Restore the ANSI-C blocklist test via check_ssh_command_access.
Harden ssh_policy against Codex and maintainer review:
- Parse ssh/scp argv with correct flag arity and -o HostName/ProxyJump
- Preserve bracketed IPv6 hosts; handle scp host:path operands
- Resolve paramiko/asyncssh/fabric connects via import and assignment tracking
- Block subprocess/os.system SSH launches; fail closed on direct imports
- Filter network blocks only on approved SSH connect lines
- Clear SSH approvals when a sandbox session is removed
@Souravrajvi0
Souravrajvi0 force-pushed the feat/ssh-approval-policy-702c branch from e770829 to 1ff7870 Compare September 10, 2026 05:06
@danielhanchen

Copy link
Copy Markdown
Member

Thanks for reworking the gate onto the same ANSI-C decode and shlex tokenization and restoring test_ansi_c_quoted_command_blocked, that addresses what I asked for. Two things before I review: _find_ssh_command_segments reimplements most of _find_blocked_commands's command-position scan, so could it share that walk instead, and since ssh is no longer hard-blocked, what happens for hosts that never appear as a literal token, such as an alias from ~/.ssh/config or -F / ProxyCommand forms?

Resolve conflicts in tools, safetensors_agentic, and inference models
while keeping SSH approval APIs and gating.
Use the first ssh positional operand as the destination so a dynamic
target cannot be masked by a literal remote command. Exempt approved
SSH connect calls from network blocks by AST span (with col_offset on
violations), not whole source lines. Reconcile the ANSI-C blocklist
param with the approval gate.
@Souravrajvi0

Copy link
Copy Markdown
Contributor Author

@alkinun — pushed 04168aefa on top of a merge with main (conflicts in tools.py, safetensors_agentic.py, models/inference.py resolved).

Your two P1s

  1. Dynamic destination + remote command — _hosts_from_ssh_segment now uses only the first ssh positional as the destination (ssh "$TARGET" approved.example → dynamic / blocked with only approved.example approved).
  2. Same-line HTTP — filter_ssh_approved_network_blocks exempts by approved SSH Call AST span (+ col_offset on untrusted_host_blocked), not whole line numbers.

Your test note

  • test_bash_blocklist_flags_both_commands[ansi_c_quoted_command_blocked] now uses $'rm' for the blocklist half; SSH + ANSI-C stays in test_ansi_c_quoted_command_blocked / test_ssh_policy.py.

Your "not repeating" items

  • Subprocess / os.system ssh literals and clear_session on sandbox removal: unchanged on this head; still covered by existing tests.

Could you take another look when Backend CI is green? Thanks.

@Souravrajvi0

Copy link
Copy Markdown
Contributor Author

Thanks for the follow-up — addressing both points on 04168aefa.

Shared walk with _find_blocked_commands

Agree _find_ssh_command_segments duplicates most of the command-position scan. I kept it separate in this PR so SSH gating could land without risking regressions in the blocklist path (which now also depends on _BLOCKED_WORD_RE on main).

Follow-up I'm planning (happy to do here if you prefer, but it's a sizable refactor):

  1. Extract a single "shell command walk" that yields (command_name, arg_token_slice, position_meta) for each command-position invocation (including bash -c / cmd /c recursion).
  2. Drive _find_blocked_commands off "is this name in the blocklist?" and SSH policy off "is this name in _SSH_GATED_COMMANDS?" with the same token stream.
  3. Keep one ANSI-C decode + shlex layout up front so $'ssh', wrappers (env ssh …), and sed/find edge cases stay aligned.

If you'd rather block merge on (1)–(3), I can push a refactor commit on this branch; otherwise I'll open a small follow-up PR right after merge.

Hosts that never appear as literals (~/.ssh/config, -F, ProxyCommand, …)

Current behavior is intentionally conservative:

Case Behavior
Literal CLI target (ssh [email protected], host:path scp, -o HostName=…, -J / ProxyJump with literal host) Extracted; must be on the session allowlist (or user approves when prompted).
Dynamic / indeterminate ($HOST, ssh "$VAR" cmd, ProxyCommand, etc.) dynamic=True → fail closed until a literal approved host is visible in the snippet we can parse.
Config alias as a single word (ssh myalias) We approve the token myalias for the session; we do not read or resolve ~/.ssh/config, so the real HostName behind the alias is not inferred.
-F alternate_config Alternate config is not parsed today; the -F value is skipped during flag walk only. I'm treating full -F / Include-tree modeling as follow-up (likely: fail closed whenever -F is present, same spirit as ProxyCommand).

So: we're not trying to be a full OpenSSH config simulator — we gate on what's statically visible in the tool argument, fail closed on obvious indirection, and rely on explicit user approval for literal targets (including alias names on the command line). Happy to tighten -F in this PR if you want that before merge.

Review fixes (alkinun)

On top of the above, 04168aefa fixes the two approval bypasses (dynamic destination + remote command; same-line HTTP vs approved SSH) and reconciles the ANSI-C blocklist parametrize test with the approval gate.

@mahiatlinux

mahiatlinux commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

SSH approval repairs verified at f7f620ff5c0eec60b2b65262cbcf24280cbfa487. The final head preserves the contributor's merge of main at 3cc6acfe5.

Native cmd extraction splits adjacent operators and preserves quoted/caret-escaped data. SCP/SFTP separate the host from the remote path before parsing usernames; @ in a path cannot change the approved destination, and local filenames containing @ are not remote-host candidates. Shell extraction shares the existing command walk, including forwarding launchers, timeout duration suffixes, wrappers, coprocesses, executable aliases, here-doc/newline boundaries and jump hosts; xargs-supplied SSH operands, parameter-expanded command assignments and SFTP command input fail closed. Git transports are also screened: SSH URLs, named/default remotes and opaque transport configuration fail closed, including after host approval because Git can redirect the destination. Direct approved SSH and tested local/non-SSH Git commands remain available. Python checks supported imported/assigned launchers including pty.spawn, literal reflective access, dynamic imports, partial wrappers, helper and method parameters, constructors, loop/comprehension targets, conditional and boolean selections, constructed-instance attributes, iterator selections, opaque function-result tracking, class-held clients, assignment expressions, keyword dictionaries, client subclasses, superclass calls, named/lambda factory helpers, Fabric groups, literal containers and context managers. Hidden configuration and socket overrides fail closed. Approvals are scoped to account and session; unrelated HTTP requests retain their network checks.

OpenSSH requires -F none; AsyncSSH requires config=None; Fabric accepts a fresh inline config=fabric.Config(lazy=True). These explicit configurations prevent approved aliases from silently redirecting through user configuration.

Executed verification

Environment Result
Exact head, Python 3.14.4, policy/sandbox/permission suites plus 11 external regressions 2,995 passed, 1 platform skip; 376 repository SSH-policy cases
Exact head, native Python 3.11 macOS 2,985 passed; Windows 2,983 passed, 2 skips; Ubuntu 2,984 passed, 1 skip
Official prospective merge ef60c96ec89afaf370fd32cdafce1cb6e7dd92ee, upstream main 39268d393918b1a85fda43f5b18f9cd4ed7f821d 2,992 passed, 1 skip; fresh production frontend build passes with existing chunk warnings
Exact head and prospective merge, actual terminal/Python tools 50 existing approved SSH connections, two exact-byte SCP/SFTP downloads and a separate reverse-direction SSH handshake succeed; tested unapproved paths are blocked
Ruff 0.6.9 and diff whitespace checks Passed

Executed controls, commands and logs · Native policy run · Preserved XML · Merge evidence.

Real OpenSSH, Paramiko 5.0.0, Fabric 3.2.3 and AsyncSSH 2.24.0 connect to a disposable SSH server. The latest native Windows control shows original base blocking adjacent cmd SSH with zero connections, reviewed head 318746441f80064c1275ce59b6351d5b8f421418 authenticating and executing the remote marker without approval, and repaired source making zero connections before approval then one successful connection afterward. Both repaired source blobs match the committed head exactly. The probe selects the supported cmd fallback, supplies PROGRAMDATA through cmd set and uses the actual extensionless absolute OpenSSH path. Initial startup, listener and patch line-ending failures are preserved; production environment and safety checks are unchanged. Eight regression assertions fail before repair; three quoted/escaped data controls pass. Native Windows base/head/fix run. Previous SCP/SFTP base/head/fix controls also prove the remote-path repair, with two exact-byte successful downloads after actual-host approval. Transfer controls. The proposed paramiko.Transport.open_client finding is rejected: an actual call raises AttributeError in installed Paramiko 5.0.0 and the method is absent from official 3.5.1, 4.0.0 and current main source. Executed result · Official source. Earlier controls also prove SFTP local-shell escapes are blocked; a separate direct approved SFTP control still connects. Two AsyncSSH probes retrieve connection metadata, and the inline constructed-instance control verifies authentication and prints a local indicator. Other ordinary positive controls execute the expected remote marker command.

Additional original-base controls show two pre-existing confinement gaps: SSH launched from a script file and Paramiko connect dispatched through operator.methodcaller both execute the same remote marker with one connection on original base 9bef060ea4200fb679067c4fca406087c1c14a4b and current head. These findings are rejected as pre-existing, and no new code was pushed. An uncommitted operator proposal was discarded after the base control disproved its initial regression classification. Identical base/head controls and commands. The inline and recognized-call verification above does not establish runtime confinement of arbitrary scripts or reflective dispatch.

The mapping lookup finding also reproduces identically on the original base: clients.get("prod").connect(hostname=...) executes the remote marker with one connection both before this PR and on the reviewed head. It is rejected as pre-existing. Executed base/head control. The latest official merge ef60c96ec89afaf370fd32cdafce1cb6e7dd92ee uses main 39268d393918b1a85fda43f5b18f9cd4ed7f821d and the repaired head. Current merge logs and inspected Chromium/Firefox captures.

On preceding head 1406f84a2, additional tool-loop, output-streaming, permission-bypass and folder suites: 610 passed, 1 failed. The folder test expects Path.is_dir() to raise PermissionError, but Python 3.14 returns false. It fails identically on the original base, alongside six passing folder tests. This unrelated failure is preserved in both logs. Earlier approval-loop verification at f58743741 also exercised Allow/Deny with deterministic generated text and a recording executor; it is separate from latest-head counts.

UI evidence

Separate base/repaired builds and application homes restore actual SSH tool outputs through authenticated Studio chat history. Exact-head native Chrome, Edge and Safari captures and prospective-merge Chromium/Firefox captures pass and were manually inspected. Native run · Full originals, browser versions and comparisons.

Native Chrome before and final repair

Edge comparison · Safari comparison.

The unchanged original base capture is reused from its pinned run. Manual inspection caught an Edge card-transition capture in the preceding round; the corrected task-only harness waits for the transition and disables screenshot animations. Failed capture and explanation. These scenes show restored real tool cards, not model inference or a browser-driven Allow click. Local PR execution uses credential-free filesystem/network/PID namespaces; native CI uses disposable hosted VMs.

Controls and source verification

Base 9bef060ea4200fb679067c4fca406087c1c14a4b, original head b209f4625c817c97fd72e325511585c28ae7ff4a and original merge 4930857668b2e1dbefca7b14cc4e29e96c6c07a7 were exercised separately. Negative controls reproduce the repaired categories before their fixes. Initial controls · Configuration controls · Launchers · Indirection and redirects · API aliases · Wildcard imports · AsyncSSH and context managers · User separators and coprocesses.

Supported signatures and configuration behavior were checked against OpenSSH, SFTP, Paramiko, Fabric configuration, Fabric groups, AsyncSSH, Python asyncio, pty.spawn, getattr, dynamic imports, class attributes, method and constructor binding, classmethod, functools.partial, Bash parameter expansion, and Bash here-documents, Git URLs, and Git configuration, and AsyncSSH reverse direction, and Python conditional/boolean AST nodes, and instance objects, and Python iterator builtins. The live test corrected an earlier invalid ProxyCommand keyword fixture to the installed API's command_line parameter before rerunning the valid controls.

Native Windows operator and quoting behavior was checked against Microsoft cmd documentation.

@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 318746441f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread studio/backend/core/inference/tools.py Resolved
@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7f620ff5c

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1615 to +1618
if _ssh_segments is not None and base in (
_HIGH_RISK_FORWARDING_COMMANDS - _EXEC_FLAG_FORWARDING_COMMANDS
):
ssh_forwarding = base

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Scan commands launched by script before allowing SSH

When the sandbox includes util-linux script, a call such as script -qec 'ssh -F none evil.example' /dev/null bypasses the host gate because this forwarding branch only recognizes entries in _HIGH_RISK_FORWARDING_COMMANDS, and script is not one of them. I verified locally that script launches the -c payload, and its --help describes -c, --command <command> as running that command; _find_ssh_command_segments() therefore returns no SSH segment, so with permission_mode="off" the newly unblocked ssh reaches an unapproved server. Treat script -c/--command as a nested shell command (the same issue also affects Python subprocess calls routed through this walker).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rejected as a pre-existing confinement gap. I reran the actual _bash_exec tool with util-linux script -qec against a disposable SSH server: original base 9bef060 and current head 35c117f each returned pr10642-live-ssh-ok with exactly one connection before approval. tools.py:1615-1618 limits forwarding detection to _HIGH_RISK_FORWARDING_COMMANDS; script is absent, but the original base also permits this command. The claimed regression from unblocking SSH is therefore disproved; no source change is warranted. The existing round30_script_live.py probe reproduced both results in separate filesystem/network namespaces. The command behavior agrees with the official util-linux manual.

@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@mahiatlinux

Copy link
Copy Markdown
Contributor

pre-commit.ci run

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35c117fdf3

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread studio/backend/core/inference/tools.py Resolved
Comment thread studio/backend/state/ssh_approvals.py Resolved
@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 30fd1189d8

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread studio/backend/state/ssh_approvals.py Resolved
@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c8b9a563ea

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +546 to +547
if name and symbol.split(".", 1)[0] in _SSH_PY_ROOT_MODULES:
bindings[name] = symbol

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Clear stale SSH bindings when names are rebound

When an imported SSH symbol is later rebound to a non-SSH object, this conditional leaves the original binding in place. For example, from fabric import Connection; from pathlib import Path; Connection = Path; Connection('artifact') is classified as a Fabric connection and rejected by _check_code_safety, although it only constructs a local path and the existing generic safety analysis permits it. Function parameters and bindings in unrelated lexical scopes have the same problem because bindings are collected globally with ast.walk; account for rebinding order and scope instead of retaining the stale SSH identity.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reproduced the conservative rejection: ssh_policy.py:545-547 retains imported SSH identity, so rebinding fabric.Connection to pathlib.Path yields ({"artifact"}, True, True), while ordinary Path("artifact") remains allowed. Rejected under the review scope for uncommon rebinding/lexical-shadowing cases: this does not execute an unapproved connection, and removing a global binding would also erase earlier real SSH uses; precise ordering and lexical-scope interpretation would expand this patch into a different static-analysis project. No source change. Python binding and scope semantics.

@mahiatlinux

mahiatlinux commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Converged: CODEX_APPROVED on head 731229f43523b1d6b960403ce48198a4678fa701. The final review reports no major issues on that exact commit. All 66 findings have a reaction and reply: 60 accepted threads are resolved, and six rejected threads remain open with reasons. The review watcher exited; no further review or CI polling is active.

Four repair commits were pushed to the existing branch: 30fd1189d corrects glued redirections and IPv6 normalization; c8b9a563e scopes sessionless confirmation to the executing call; e17ddd7bf rejects explicit approval requests without a nonempty session ID; 731229f43 distinguishes SFTP output pipes from command input while preserving inherited-stdin guards.

Verification: 981 focused policy, provider, GGUF, safetensors and confirmation tests passed after the sessionless repair. The final policy and sandbox run passes 726 tests with one platform skip. Endpoint and SFTP regressions failed before their repairs. Real SSH controls verified blocking before approval and removal of sessionless permission afterward. A real SFTP download through tee made zero connections before approval, then one connection and downloaded the expected 25-byte file after approval. Ruff, pinned-formatter stability and pre-push review passed for both subsequent repairs.

Final CI snapshot: three successful checks, four skipped, 41 queued, none failing. Pre-commit passes on the final head. The earlier formatting failure reported an autofix conflict on three upstream-only files. Its prepared patch preserved their ASTs but could not apply to the older PR source; subsequent runs passed without that patch, an upstream merge, a rebase, or a hook exclusion. No merge or close action was taken.

@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c8b9a563ea

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread studio/backend/routes/inference.py Resolved
@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e17ddd7bf8

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread studio/backend/core/inference/tools.py Resolved
@mahiatlinux

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 731229f435

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mahiatlinux
mahiatlinux self-requested a review September 16, 2026 23:25

@mahiatlinux mahiatlinux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mahiatlinux
mahiatlinux merged commit 5522faf into unslothai:main Sep 16, 2026
43 of 48 checks passed
@danielhanchen

Copy link
Copy Markdown
Member

@codex security review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make SSH restrictions consistent and allow approved deployments

3 participants