Files
instagram-bot/scripts
Marc Mintel 8f8efe6f2a fix: eliminate 3 critical nav failures — DM guard, GOAP unlearn, ad escape
- Extract NAV_INTENT_KEYWORDS constant (DRY) with 'direct message', 'inbox',
  'dm', 'notification', 'heart icon' to fix structural guard self-sabotage
  where 'tap direct message icon inbox' was rejected as non-nav intent
- Add goal-achieved pre-check in GOAP _execute_recalled_path to skip
  stale paths when the bot is already on the target screen
- Add already-there detection in _execute_action to prevent false unlearning
  when navigation produces no UI change because goal is already met
- Implement 3-tier ad escape cascade: normal skip -> double scroll -> GOAP
  force-navigate to HomeFeed after 6+ consecutive ad cycles
- 92 unit tests pass, 223/224 integration tests pass (1 pre-existing flaky)
2026-04-24 21:42:27 +02:00
..