Repository navigation
Studio: remove AGENTS.md and CLAUDE.md from install artifacts - #7096
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces mechanisms across Python, Bash, and PowerShell setup scripts to prune contributor-only AGENTS.md files from the installed runtime directories (such as frontend, OXC validator, and llama.cpp) while safely avoiding user-linked directories. The feedback suggests wrapping the file deletion (unlink) in a try-except block in studio/install_llama_prebuilt.py to prevent potential OSError exceptions from crashing the installation process during this non-critical cleanup step.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 95bd3580a8
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fb807dab50
ℹ️ 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".
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a mechanism to clean up contributor-only agent instruction files (AGENTS.md and CLAUDE.md) across Python, Bash, and PowerShell setup scripts, ensuring they are not followed or preserved through symlinks or junctions. Feedback was provided to simplify the _is_link_or_junction helper function in install_llama_prebuilt.py by leveraging Windows reparse point attributes directly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
@codex review |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces automated cleanup of contributor-only agent instruction files (AGENTS.md and CLAUDE.md) across the installation and setup processes. It adds robust, link-safe removal logic in Python (install_llama_prebuilt.py), PowerShell (setup.ps1), and Bash (setup.sh) to ensure these files are pruned from the frontend, validator, and llama.cpp directories without traversing external symlinks or junctions. Comprehensive unit tests have also been added to verify this behavior under various environments and edge cases. There are no review comments to address, and the implementation looks solid.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
AGENTS.mdguide toREADME.mdAGENTS.mdandCLAUDE.mdfiles published by frontend and OXC npm dependencies after setup--with-llama-cpp-dirBoth
ggml-org/llama.cppandunslothai/llama.cppcurrently ship root-levelAGENTS.mdandCLAUDE.md, so the prebuilt source hydration path covers both.Testing
uv tool run --from pytest pytest tests/studio/install/test_install_llama_prebuilt_logic.py -q(52 passed)bash tests/sh/test_with_llama_cpp_dir_link_behavior.shsh tests/sh/test_with_llama_cpp_dir_flag.sh(24 checks passed)ruff checkon the modified Python files