fix(recorder): resolve class deps via attr.__module__ when already in __dict__
When `from transformers import BertModel` fires and BertModel is already in
`transformers.__dict__` (populated by an earlier test), Python bypasses
`__getattr__` entirely — no `importlib.import_module` call, so our hook
only saw `transformers/__init__.py` and missed `modeling_bert.py`.
Fix: in the fromlist handler, when `transformers.<item>` is not a submodule
in sys.modules, look up `parent_mod.__dict__.get(item).__module__` to find
the defining module. This correctly records `modeling_bert.py` even when
BertModel was pre-populated by an earlier collection run.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>