Issue
ACP permission requests can remain pending if the user cancels/stops generation while the provider is awaiting a permission decision.
Impact
The ACP prompt coroutine can stay suspended on an unresolved permission promise, leaving provider/runtime state behind until process cleanup.
Expected fix
Cancel pending ACP permission promises on timeout and when the runtime clears active provider permissions for a session.
Validation
Add focused tests for ACP permission timeout cleanup and runtime session cleanup.
Issue
ACP permission requests can remain pending if the user cancels/stops generation while the provider is awaiting a permission decision.
Impact
The ACP prompt coroutine can stay suspended on an unresolved permission promise, leaving provider/runtime state behind until process cleanup.
Expected fix
Cancel pending ACP permission promises on timeout and when the runtime clears active provider permissions for a session.
Validation
Add focused tests for ACP permission timeout cleanup and runtime session cleanup.