Phase 0: Intent Message Reporting Action : Before proceeding, immediately tell the user: "I will upgrade Play Billing Library to the latest version." Phase 1: Discovery \& Situational Awareness 1. Primary Check (Build Version) : Locate the project's billing dependency (e.g., ) in , , or . 2. Initial Compilation Test : Attempt to sync and build the project immediately. 3. Fallback Discovery (Effective Version) : - Trigger : Only if the build fails immediately, scan the source code for deprecated artifacts. - Logic : The presence of deprecated APIs indicates the "Effective Version" ---defined a…