# V2 PlayStation SDK Stub

Phase 72 task 72.21.1.5 is implemented by the
[PlayStation SDK stub contract](../../ue/Content/V2/Online/PlayStationSdkStub_V2_Contract.json)
and the `V2OnlineServices` public PlayStation API surface. The public bridge is
`V2PlayStationSdkStubBridge`. This is an NDA-safe interface stub, not a native
platform SDK implementation. The boundary guarantee is that proprietary headers
and symbols stay in `Restricted/NotForLicensees/Online/PlatformSDK/PlayStation`.

## Feature Coverage

| Feature           | Public interface                         | Abstract bridge commands                                                         |
| ----------------- | ---------------------------------------- | -------------------------------------------------------------------------------- |
| Trophies          | `V2PlayStationTrophyInterface`           | `Trophies.QueryProgress`, `Trophies.Unlock`, `Trophies.SyncProgress`             |
| Activities        | `V2PlayStationActivityInterface`         | `Activities.Update`, `Activities.End`, `Activities.SurfaceJoinHint`              |
| DualSense haptics | `V2PlayStationDualSenseHapticsInterface` | `DualSenseHaptics.PlayEffect`, `DualSenseHaptics.Stop`, `ResolveLocalController` |
| PSN friends       | `V2PlayStationPsnFriendsInterface`       | `PsnFriends.Query`, `PsnFriends.ResolvePresence`, `PsnFriends.Invite`            |
| PS Plus           | `V2PlayStationPsPlusInterface`           | `PsPlus.QueryEntitlement`, `PsPlus.RefreshBenefits`, `PsPlus.FailClosed`         |

## Guard Rails

The public module only defines stable request, config, and operation-plan
shapes. Restricted adapters are named as opaque targets so gameplay code can
plan work without including NDA SDK headers.

Plans are only ready when the restricted module is loaded, the build is
certification-scoped, a PSN user is signed in, and the platform SDK abstraction
route is active. DualSense haptics require a local DualSense controller. PS Plus
checks fail closed unless entitlement verification succeeds.

## Verification

Run the focused gate with:

```bash
python3 V2/ue/Tools/check-v2-playstation-sdk-stub.py
```

The checker validates the contract, C++ source declarations, automation spec,
CI/Horde wiring, this document, Phase 72 TODO evidence, and the NDA-safe public
boundary.
