feat: stabilize autonomous instagram bot suite (100% green)

Summary of work:
- Resolved mass SystemExit: 2 failures by hardening Config against pytest CLI args.
- Fixed state leakage in test suite by implementing aggressive cache wiping in conftest.py.
- Fixed TypeErrors and UnboundLocalErrors in TelepathicEngine and bot_flow.
- Aligned MockTelepathicEngine signatures to resolve Mock Drift.
- Achieved 100% pass rate across 498 tests.
This commit is contained in:
2026-04-20 15:11:49 +02:00
parent fc3209bdc1
commit 2c6404f387
41 changed files with 1425 additions and 274 deletions

View File

@@ -29,6 +29,23 @@ mission:
# Was hasst der Bot absolut? (Sofortiger Skip)
blacklist_topics: "onlyfans, nsfw, sale, discount, promo, 18+, giveaway, crypto"
interactions:
# Grund-Wahrscheinlichkeit für Likes & Comments (unabhängig von der strict Resonance)
likes_percentage: 100
comment_percentage: 40
# Comment Dry Run (früher AI-Comment-Mode): Wenn true, überlegt sich die AI geniale Kommentare, postet sie aber nicht in echt.
dry_run_comments: true
# Wahrscheinlichkeit (in Prozent), fremde Profile VOR dem Kommentieren zu öffnen und tiefgründige Insights abzugreifen
profile_learning_percentage: 20
# Wahrscheinlichkeit (in Prozent), das Bild visuell zu analysieren, bevor interagiert wird
visual_vibe_check_percentage: 100
# Soll der Bot zum Start der Session sein eigenes Profil lesen und Persona/Vibe anpassen?
ai_learn_own_profile: true
limits:
# Wie viele Stunden am Tag darf der Bot maximal arbeiten?
daily_budget_hours: 2.5
@@ -37,10 +54,10 @@ limits:
max_comments_per_day: 40
# ── Infrastructure (Nur für Entwickler) ──
device: 192.168.1.206:46557
device: 192.168.1.206:41441
app-id: com.instagram.android
ai-model: qwen3.5:latest
ai-model-url: http://localhost:11434/api/generate
debug: true
speed-multiplier: 1.0
ignore-close-friends: true