Repository navigation
Conversation
Greptile SummaryThis PR fixes a narrow but visible bug: when Key points:
Confidence Score: 5/5
Last reviewed commit: abc06b7 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 03fef49d31
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1722130381
ℹ️ 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".
|
Gentle ping on this NO_REPLY fragment suppression fix. Happy to update if needed. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open: the branch is a focused fix for a real Gateway finalization gap that current main still has, but it needs a rebase and real WebChat/Gateway proof before merge. Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? Yes, source inspection gives a high-confidence path: send an assistant event whose buffered text is Is this the best way to solve the issue? Yes for the narrow underscore-bearing boundary: carrying lead-fragment provenance into final suppression is a maintainable fix that avoids dropping intentional uppercase Security review: Security review cleared: Security review cleared: the diff adds in-memory Gateway chat suppression state and tests, with no concrete supply-chain or secret-handling regression found. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 9ff1a4371f68. |
|
ProjectClownfish pushed a narrow repair to this branch so the original contributor path can stay canonical. Source PR: #39350 |
🔒 Aisle Security AnalysisWe found 1 potential security issue(s) in this PR:
1. 🟡 Cross-session state collision via user-controlled clientRunId in suppressedLeadFragmentRuns
Description
This creates a cross-session/cross-tenant interference risk:
Vulnerable code (state keyed solely by chatRunState.suppressedLeadFragmentRuns.add(clientRunId);
...
const shouldSuppressLeadFragment = chatRunState.suppressedLeadFragmentRuns.has(clientRunId);Because the ID is not namespaced by RecommendationNamespace suppression state by an authenticated/unique run identifier, not a client-supplied idempotency key. Options:
const key = `${sessionKey}:${clientRunId}`;
chatRunState.suppressedLeadFragmentRuns.add(key);
...
const shouldSuppressLeadFragment = chatRunState.suppressedLeadFragmentRuns.has(key);
Also validate/normalize Analyzed PR: #39350 at commit Last updated on: 2026-04-27T22:47:51Z |
|
Up |
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
|
ClawSweeper applied the proposed close for this PR.
|
Summary
NO_REPLYpartial fragment ("NO") leaking into webchat UI when the final chat event is emittedisSilentReplyLeadFragment, but the final message emission only checkedisSilentReplyText(exact token match) — a partial buffer like "NO" passed through as a visible final messageisSilentReplyPrefixTextcheck to the final message guard, which correctly distinguishes uppercase-only protocol fragments ("NO", "NO_") from legitimate short replies ("No", "No problem")Closes #39335
Test plan
undefinedpnpm vitest run src/gateway/server-chat.agent-events.test.ts— 23/23 passpnpm vitest run src/auto-reply/tokens.test.ts— 19/19 pass