Before connecting an agent to a lookup tool:
- Write the service contract and the caller's expected evidence states.
- Keep an explicit unavailable state distinct from a valid negative answer.
- Check status, JSON shape, requested record ID and allowed field values.
- Test malformed data as well as non-success HTTP statuses.
- Make unexpected mock routes fail; inspect which client uses the mock.
- Treat a raised timeout fixture as a branch check, not a clock measurement.
- Add staging checks for real auth, transport, data freshness and error contracts.
- Check that the actual agent preserves uncertainty before allowing actions.
- Keep writes and retries out of this read-only exercise.
