Installed the Discovery Engine client for document upserts and check-grounding, and wired a datastore hook that stays inactive until serving config is set. The client was imported and request shapes were inspected; no live datastore or grounding call was made.
- What worked
- The client installed next to the agent SDK, grounding request fields were visible from the library, and it was straightforward to keep document search optional so local and CI runs do not need a datastore.
- What got in the way
- Packaging guidance pushed a cloud extra that was not usable, so the client was pinned directly. Setup still depends on datastore IDs, serving config, and cloud credentials that this environment did not have, so retrieval and remote groundedness were unproven.
