5 Commits
Author SHA1 Message Date
haikdc 08eb4b561f [haik]: refactor: systematize naming conventions across 20+ backend modules. Private module-level vars renamed _foo to P_FOO, private funcs _foo to p_foo, cross-module public funcs drop leading underscores entirely (e.g. _discover_mcp_tools_http -> discover_mcp_tools_http, _load_all -> load_all_tools, _classify_services -> classify_services). Local vars inside functions lose underscores (_backend -> backend_dir, _port -> port). Unnecessary import aliases removed (import json as _json -> import json). Imports reorganized to proper source modules (derive_mcp_config from mcp_config, oauth refresh funcs from oauth_tokens). Added Public comments documenting cross-module API boundaries. Extracted PENDING_OAUTH to oauth_state.py to break circular import. No behavioral changes. 2026-06-13 23:38:39 -07:00
haikdc c8c6117d64 [haik]: remove dead code and modernize test infrastructure: drop unused functions (validate_credentials, get_provider_credentials, submit_state), remove unused imports and parameters across outputs, buffer, client, settings, credentials, service, auth, main, and tools_lib; replace hand-rolled async fakes in browser agent tests with pytest-mock mocker fixture and AsyncMock, switch to SimpleNamespace over ad-hoc test classes, adopt pytest.mark.usefixtures for unused fixture params, and add pytest-mock to dev dependencies 2026-06-13 13:01:11 -07:00
ciregenz ed3ffd2de1 [eric] tests: reset metrics-dir cache in conftest, analyzer tests wrote to a stale dir 2026-06-05 00:55:14 -07:00
ciregenz fe082c492c [eric] browser: durable reflective per-site playbook (tier-2 memory, mem0-style distill+reconcile) 2026-06-02 23:11:47 -07:00
ciregenz e30d70ce97 [eric] browser: persist skills across sessions with secret-redaction gate 2026-06-02 16:17:23 -07:00