Files
instagram-bot/tests
Marc Mintel 6f9da50ae2 fix(perception): add keyboard contamination guard to IntentResolver
Production Bug 2026-05-04: VLM clicked comment_composer → keyboard
opened → 30+ keyboard key nodes flooded candidate pool → VLM
hallucinated 'N' as 'tap post username' → cascading failure.

- Extract pre_filter_candidates() from _visual_discovery inline filter
- Add 'inputmethod' package exclusion to filter keyboard nodes at O(1)
- Add has_keyboard_open() detection helper for downstream recovery
- _visual_discovery() delegates to pre_filter_candidates()
- TDD: 4 new tests proving keyboard isolation and share button parity
2026-05-04 10:14:57 +02:00
..
2026-04-16 18:58:18 +02:00
2026-04-16 18:58:18 +02:00