Commit Graph
11 Commits
Author SHA1 Message Date
haikdc a28ac6b642 [haik]: refactor: apply p_/P_ naming convention to browser_agent.py and 31 test files. In browser_agent.py, rename 6 module-internal functions from leading-underscore to p_ prefix (_strip_lone_surrogates -> p_strip_lone_surrogates, _format_tool_result -> p_format_tool_result, _delta_state -> p_delta_state, _send_index_in_state -> p_send_index_in_state, _is_composer_fill -> p_is_composer_fill) and update all call sites. Across 31 test files, rename test helper functions from _func to p_func or descriptive names (_tu -> p_tu, _rp -> p_rp, _install -> p_install, _log -> action_log, _isolated_skills -> isolated_skills), drop leading underscores from local variables (_nm -> nm, _send_browser_command -> send_browser_command), and update module attribute references from BH._browser_history/BH._domain_notes to BH.BROWSER_HISTORY/BH.P_DOMAIN_NOTES. ~1023 insertions, ~1024 deletions, no behavioral changes 2026-06-14 01:11:48 -07:00
haikdc d7349cce18 [haik]: refactor: rename ws_manager singleton to WS_MANAGER and await_reconnect to await_reconnect across 8 files. Module-level ConnectionManager instance follows P/uppercase constant convention (ws_manager -> WS_MANAGER in ws_manager.py). Cross-module helper _await_reconnect drops leading underscore since browser_agent.py imports it directly. Updated all ~80 call sites in agent_manager.py, agents.py, browser_agent.py, main.py, and ws_manager.py; updated monkeypatch targets in test_browser_agent_loop.py, test_browser_fast_path.py, and test_disconnect_resilience.py. 176 insertions, 176 deletions, no behavioral changes. 2026-06-13 23:51:26 -07:00
ciregenz 91073becec [eric] browser: finish via a Done(message) tool so the user gets a plain conversational reply, not the OUTCOME tag 2026-06-08 22:15:52 -07:00
ciregenz a588645a96 [eric] browser: ride out a momentary dashboard WS drop instead of failing the run under load 2026-06-07 17:37:19 -07:00
ciregenz 62758cc517 [eric] browser: fast-path brief ENTRY url flows into dispatch, new cards skip the google detour 2026-06-06 00:17:05 -07:00
ciregenz 6fd1047543 [eric] browser: mechanical verify-first gate on send-class recovery, probe verdict gates the retry in code 2026-06-05 22:55:05 -07:00
ciregenz 2c55d17f50 [eric] browser: dead-dashboard dispatches fail in 1s instead of burning turns, recovery skips systemic causes 2026-06-05 15:56:38 -07:00
ciregenz aaa0d306db [eric] browser: fast path failure detection fail-closed, card-gone summaries now trigger recovery 2026-06-05 15:19:36 -07:00
ciregenz 84eeb2925e [eric] browser: three-way fast path, READ answers public pages via local fetch in seconds 2026-06-05 15:17:33 -07:00
ciregenz fe63ae63d7 [eric] browser: fast path sharpens tasks via aux brief and retries one recovery dispatch 2026-06-05 13:00:49 -07:00
ciregenz 8ee209a83c [eric] browser: fast path skips orchestrator for browser-only first messages 2026-06-05 12:02:17 -07:00