fix(ui): show pending tool prompts#367
Conversation
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
Gatekeeper review of the latest PR state. I understood the goal here as: keep tool prompts visible while a permission or question is pending, especially when tool calls are normally collapsed, and make the expansion/collapse rules consistent.
That means the new
In both cases, with tools collapsed, the segment can still remain fully hidden from the timeline. So the PR does not fully deliver the stated visibility fix yet. Suggested direction: move the timeline visibility rule to the same pending-interruption predicate used in
That creates inconsistent UX: the tool is simultaneously shown as "waiting to run" while also actively asking the user a question. This should use the same shared pending-interruption predicate, or be split into interruption-specific messaging. Verification:
Non-blocking note: -- |
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
Updated gatekeeper review for the latest PR state ( I understood the intent as unchanged: make pending permission/question prompts reliably visible even while interruption reconciliation is still catching up, and keep the expansion/collapse behavior consistent.
Why: unresolved interruptions are stored before they have a resolved
That means the latest change still falls short of the PR’s stated guarantee for "even before active interruption reconciliation catches up". Suggested direction: use a shared helper that can answer "does this tool segment have any pending interruption?" from the same data sources as What improved since the previous review:
Verification:
Non-blocking note: -- |
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
Updated gatekeeper review for the latest PR state ( I understood the intent as unchanged: make pending permission/question prompts reliably visible even before interruption reconciliation catches up, while keeping the collapse/expansion rules aligned. No blocking findings in the latest revision. What changed that resolves the previous blocker:
Residual risks / non-blocking notes:
Verification:
Gatekeeper verdict: no current code-quality blockers found in the latest PR state. -- |
|
@pascalandr - Were you able to reproduce this issue at your end? |
Yes |
|
Thinking about it more, recently I often run into permission-related weirdness, including in yolo mode, and a lot of symptoms can end up looking broken. So I think this needs more investigation, and the root cause is probably more complex than the small band-aid in this PR. |
Shall we close this then and wait for the time when we know exactly what's happening |
Fixes #290
Summary
Testing
npm run typecheck --workspace @codenomad/uinpm run build --workspace @codenomad/ui