mirror of
https://github.com/NeuralNomadsAI/CodeNomad.git
synced 2026-08-02 19:55:02 +00:00
## Summary - Preserve the original V2 source when permission.updated changes an already-pending request, so approval continues through the V2 reply API instead of the legacy endpoint. - Keep standalone permission.updated events as valid legacy requests for older supported OpenCode binaries. - Continue suppressing delayed post-reply updates through the existing replied-request tombstone, preventing an approved request from reappearing. ## Reproduced failure The regression test fails on dev before the fix: permission.v2.asked followed by permission.updated changes the request source to legacy, so approval calls the legacy endpoint and never reaches the V2 reply API. ## Compatibility coverage - V2 request plus permission.updated replies through V2 - delayed permission.updated after a successful local reply does not re-enter the queue - standalone legacy permission.updated remains visible and replies through legacy ## Scope This PR intentionally does not add speculative timeout, reconnect, or modal-rendering changes. It only fixes the reproduced source-routing bug and preserves verified legacy behavior. ## Validation - npm run typecheck - npm run build --workspace @codenomad/ui - 144 existing runnable UI tests passed - browser integration tests passed, including all permission lifecycle regressions Closes #566 |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||