diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 707daca..9615dfc 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -37,3 +37,9 @@ Found in `device_facade.py`. Instead of hardcoding limits like `max_likes = 50`, the bot stops interacting based on **simulated boredom**. - The `ResonanceEngine` calculates the aesthetic score of content. - The `DopamineEngine` uses this score to modulate pace. High resonance = engagement. Low resonance over multiple posts = early session termination (simulating human fatigue). + +## 4. The 100% Autonomy Directive (Zero Hardcoding) +GramPilot is designed as a true agent, not a state-machine script. It operates on **absolute zero hardcoded UI states or edge cases**. +- **No Manual Guards**: Features like `if "row_feed_button_like" not in xml:` or `if state == "ReelsFeed":` are strictly prohibited. The bot must understand the screen via its Vision-Language-Action (VLA) pipeline. +- **No Hand-Holding**: If the LLM makes a mistake (e.g., clicking the wrong button in a DM), the solution is to improve the VLM prompt, the system architecture, or the Visual Critic. We never insert `if is_dm_thread:` hacks. +- **Smart like a human**: The bot navigates by visually confirming targets, detecting obstacles when the UI organically stops responding, and inferring context precisely like a real user scrolling.