fix(agent): hide code mode wait progress - #100164
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 4, 2026, 11:46 PM ET / 03:46 UTC. Summary PR surface: Source +5, Tests +48. Total +53 across 5 files. Reproducibility: yes. Source inspection shows Code Mode wait tools set Review metrics: 1 noteworthy metric.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Security Review detailsBest possible solution: Land the adapter-preservation fix after normal protected-label maintainer review, keeping suppression driven by the existing metadata flag instead of tool-name special cases. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows Code Mode wait tools set Is this the best way to solve the issue? Yes. Preserving the existing boolean through the adapter boundaries is the narrow maintainable fix and avoids fragile name-based hiding for unrelated tools named AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 420b3cdd2936. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +5, Tests +48. Total +53 across 5 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
What Problem This Solves
Fixes an issue where Discord users saw repetitive
🧩 Waitentries while Code Mode polled background work.Why This Change Was Made
Preserves the existing
hideFromChannelProgressmarker across bothAgentTool/ToolDefinitionadapter boundaries. Normal plugin and catalog tools remain visible, including tools that happen to be namedwait.User Impact
Discord work progress now shows meaningful actions without exposing internal Code Mode polling.
Evidence
pnpm checkpassed (guards, typecheck, lint, policy checks).Waitrows; the remaining visible row predates the restart.