Optimizing GitHub Actions for Agent PRs: Speculative Test Slicing and AST Impact Analysis