Fix selected-repository Ask grounding - #595
Conversation
|
@greptileai review |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e85619845
ℹ️ 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".
|
@greptileai review @codex review Please review exact HEAD |
|
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". |
|
@greptileai review @codex review Please review exact HEAD |
|
@codex review Please review exact HEAD |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 11bc6a2c62
ℹ️ 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 |
|
@greptileai review |
|
@codex review |
|
@greptileai review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0568f65117
ℹ️ 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 |
|
@greptileai review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 782564beb5
ℹ️ 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".
|
Updated at
Full pytest, focused concurrency/privacy regressions, Ruff, mypy, scrub-check, and a live source-server responsiveness check pass. @codex review |
|
@greptileai review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5bb2b429c1
ℹ️ 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".
Greptile SummaryTightens selected-repository Ask grounding and read-only agent isolation.
Confidence Score: 5/5The PR appears safe to merge. Read-only Claude isolation no longer appends Alfred --settings or hooks, ordinary invocations still receive them, and tests cover both sides; no remaining blocking failure was identified for the read-only isolation behavior.
What T-Rex did
|
| Filename | Overview |
|---|---|
| lib/agent_runner/process.py | Read-only Claude isolation skips Alfred settings/hooks and empty MCP config; Graphify graphs resolve only within checkout roots. |
| lib/compose_converse.py | Ask/condense paths pass read-only isolation flags; repo grounding and code-map filtering support verified single-repo scope. |
| lib/server/views.py | Compose converse uses verified repo mapping, explicit-repo workdir, and streaming reconciliation under draft locks. |
| lib/server/setup.py | Code-graph readiness reconciles against per-selected-checkout Graphify/code-memory coverage instead of install-only signals. |
| lib/server/streaming.py | Stream path owns full mutate-and-reconcile work and strips structured JSON envelopes from live token fragments. |
Reviews (2): Last reviewed commit: "fix verified ask grounding and graph rea..." | Re-trigger Greptile
|
@codex review |
|
@greptileai review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b60acf6dae
ℹ️ 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".
| repo = repos[0].strip() if len(repos) == 1 else _explicit_conversation_repo(repos, messages) | ||
| if not repo: | ||
| return fallback |
There was a problem hiding this comment.
Give comparison turns access to selected checkouts
When the latest turn compares multiple repositories, _explicit_conversation_repo intentionally returns an empty string, so this branch runs the isolated model from the planning directory even though verified_repo_to_local contains every selected checkout. The prompt grounding includes summaries but not the checkout paths, and the invocation supplies no additional repository directories, so the newly required Read/Grep/Glob inspection cannot reach either codebase and the comparison can only rely on shallow metadata. Use a read-only common root or expose all verified checkout paths for comparison turns.
Useful? React with 👍 / 👎.
Summary
Verification