Add a new interaction_mode: browser to Level 2 (level: agent) scenarios.
In browser mode, a Replicant:
- Authenticates programmatically (Supabase admin magic-link → verify → app /auth/refresh to set httpOnly cookies)
- Opens the app URL in Playwright (headless by default; headed optional)
- Iterates up to max_turns:
- Observes page state (DOM text + interactive controls)
- Chooses an action (send chat, click card/button, fill field, wait, etc.)
- Executes action
- Evaluates progress (DOM and/or screenshot)
- Produces artifacts (trace, screenshots) + enriched report
Key principle: keep the existing Replicant configuration (facts/goal/system_prompt/goal_evaluation/false positives) and introduce only additive fields for browser automation.
Add a new interaction_mode: browser to Level 2 (level: agent) scenarios.
In browser mode, a Replicant:
Key principle: keep the existing Replicant configuration (facts/goal/system_prompt/goal_evaluation/false positives) and introduce only additive fields for browser automation.