AgentStatusSubscriber type-hints PrivateTempStatusStorage instead of AiAgentStatusStorageInterface, so the status storage cannot be swapped
## Problem `AgentStatusSubscriber::__construct()` type-hints the concrete class: ```php public function __construct( protected PrivateTempStatusStorage $statusStorage, ... ``` `AiAgentStatusPollerService` correctly type-hints `AiAgentStatusStorageInterface`. Because the subscriber demands the concrete class, an alternative `AiAgentStatusStorageInterface` implementation (for example a persistent storage that archives agent runs) cannot be decorated or swapped in — the container throws: ``` TypeError: AgentStatusSubscriber::__construct(): Argument #1 ($statusStorage) must be of type PrivateTempStatusStorage, MyStorage given ``` This defeats the purpose of having the interface, and forces third-party storages to extend `PrivateTempStatusStorage` rather than simply implement the interface. ## Proposed resolution Type-hint `AiAgentStatusStorageInterface` in `AgentStatusSubscriber`, matching `AiAgentStatusPollerService`.
issue