Commit Graph
242 Commits
Author SHA1 Message Date
ciregenz 71b2b33fae [eric] tools_lib: leading-_ -> p_/public across tools_lib/mcp_config/mcp_discovery/oauth_tokens/tool_taxonomy; promote cross-file public (load_all_tools/sanitize_server_name/discover_mcp_tools_*), fix re-export + attr test refs 2026-06-23 20:30:14 -07:00
ciregenz deeab52ed4 [eric] settings: leading-_ -> p_/public in store+settings+credentials+redaction; promote cross-file API public (save_settings/atomic_write_settings/migrate_legacy_fields), drop redundant _save_settings alias, fix re-export + cache test refs 2026-06-23 20:24:06 -07:00
ciregenz f703b8aa02 [eric] agents: leading-_ -> p_/P_/public in proxy+providers/openrouter+ws_manager+mcp-servers+oauth_state; promote cross-file API public, fix monkeypatch+attr test refs 2026-06-23 20:00:06 -07:00
ciregenz 991af1b580 [eric] outputs: leading-_ -> p_/P_/public across outputs subsystem (runtime, publish, versions, workspace_io, view_builder_templates); promote cross-file API public (save/load/find_free_port/etc.), fix re-export + monkeypatch test refs 2026-06-23 19:54:26 -07:00
ciregenz 1767389cbb [eric] browser: leading-_ -> p_/P_/public for module functions+constants+state across browser subsystem; promote cross-file symbols public (detect_loop, BROWSER_HISTORY, TRUSTED, etc.), align analyze-browser-metrics.py + tests 2026-06-23 19:37:40 -07:00
ciregenz 394dcd7492 [eric] agents: leading-_ -> p_/public in providers+core+tools (registry/pricing/seq_log/mcp_preflight/openai_passthrough/web/ssrf_guard); promote cross-module fns public, fix monkeypatch string refs 2026-06-23 18:39:11 -07:00
ciregenz 751bb77032 [eric] agents: publicize cross-mixin members (p_run_agent_loop, p_build_mcp_servers, etc.) + safe_resp_text so the decomposition passes p-private 2026-06-23 16:44:41 -07:00
ciregenz 5f9611ad48 [eric] agents: real-server WS end-to-end test (FastAPI + WS transport + loop + broadcast, the live-path proxy) 2026-06-23 14:17:25 -07:00
ciregenz c3b8f53619 [eric] agents: error_classify convention-clean (6 is_* funcs + 2 pattern consts off leading-_, @typechecked) 2026-06-23 14:13:39 -07:00
ciregenz 9b0116ca41 [eric] agents: session_store convention-clean (5 funcs off leading-_) + FIX auth/signout _save_session import bug 2026-06-23 12:16:38 -07:00
ciregenz 027c6ac311 [eric] agents: history_compaction convention-clean (4 funcs off leading-_, typing, @typechecked) 2026-06-23 12:08:05 -07:00
ciregenz 79bc62bca5 [eric] agents: remove 38 dead imports (autoflake) + restore the 3 dynamic re-exports + repoint a test 2026-06-23 12:03:25 -07:00
ciregenz 75db4d7ded [eric] agents: FIX latent NameError on cwd sessions (ensure_cwd_git_repo import mismatch) + clean workspace_git + regression test 2026-06-23 11:55:39 -07:00
ciregenz bf68979b79 [eric] agents: pin pinned-anthropic + 9router-default env routes (7 provider branches covered) 2026-06-23 11:42:33 -07:00
ciregenz 79047b4a1d [eric] agents: pin gemini + openrouter env-route branches (5 provider routes now covered) 2026-06-23 11:38:49 -07:00
ciregenz 5e97c94520 [eric] agents: pin pro-proxy + direct-openai env-route branches (provider routing now test-covered) 2026-06-23 11:36:43 -07:00
ciregenz 06a4c4759a [eric] agents: pin the loop's direct-anthropic-key env-route branch via captured-options 2026-06-23 11:34:41 -07:00
ciregenz 0f94f3feaf [eric] agents: fix 6 callers of renamed p_ methods (browser_agent/agents/main) that the suite masked 2026-06-23 11:30:07 -07:00
ciregenz 534f83c89d [eric] agents: extract built-in MCP-server registration into builtin_mcp_servers + tests 2026-06-23 11:22:15 -07:00
ciregenz 5a6273ec8e [eric] agents: extract the per-turn tool-allowlist gate into permissions/effective_tools + tests 2026-06-23 05:28:06 -07:00
ciregenz c59ddfca59 [eric] agents: harness drives a full StreamEvent turn through the real loop (complete WS contract) 2026-06-23 05:23:39 -07:00
ciregenz a1cbaaeabb [eric] agents: @typechecked + typed signature on the loop, p_ the live-partial mirror (convention) 2026-06-23 05:15:34 -07:00
ciregenz 94172d6fc1 [eric] agents: alias the manager's leading-_ top-level imports to clean names (convention) 2026-06-23 05:13:02 -07:00
ciregenz 97afe997aa [eric] agents: split per-run support methods into RunSupportMixin + p_-rename the private methods (convention-clean) 2026-06-23 04:58:29 -07:00
ciregenz 675e4cbc57 [eric] agents: make the lifecycle + messaging mixins convention-clean (p_ privates, typing, @typechecked) 2026-06-23 04:40:38 -07:00
ciregenz f04c050b16 [eric] agents: model the live-partial stream mirror (LivePartial) + type the streaming dict params 2026-06-23 04:29:39 -07:00
ciregenz 5629f70c11 [eric] agents: extract ResultMessage handler (token/cost/reset) into streaming/result_message + tests 2026-06-23 04:24:18 -07:00
ciregenz 64f68c6eb4 [eric] agents: extract AssistantMessage handler + upsert_message into streaming modules + tests 2026-06-23 04:19:24 -07:00
ciregenz 2f0c101d6a [eric] agents: extract StreamEvent (incremental stream) handler into streaming/stream_event + tests 2026-06-23 03:54:45 -07:00
ciregenz 2004a79fdd [eric] agents: split session lifecycle + query methods into SessionLifecycleMixin 2026-06-23 03:42:38 -07:00
ciregenz 51bd37f987 [eric] agents: model the approval decision (kill dict) + tool_catalog helpers off leading-_ 2026-06-23 03:22:55 -07:00
ciregenz f7f37766b4 [eric] agents: extract web-MCP-need provider decision into tools/web (should_register_web_mcp) 2026-06-23 02:52:55 -07:00
ciregenz 44832b2b13 [eric] agents: prompt_context public fns lose leading-_ (convention); drop dead delegators 2026-06-23 02:44:46 -07:00
ciregenz 4fadac987a [eric] agents: extract per-turn system-prompt assembly into system_prompt module 2026-06-23 02:39:19 -07:00
ciregenz 85d0ee8a13 [eric] agents: harness test pins the loop's hook wiring (hook_ctx + 4 wrappers) 2026-06-23 02:30:53 -07:00
ciregenz bbf76a0b9f [eric] agents: lift Stop hook (App Builder render gate) into stop_hook module 2026-06-23 02:15:58 -07:00
ciregenz 678472023d [eric] agents: lift PostToolUse hook into tool_result_hook (drops 2 dead local computations) 2026-06-23 02:11:52 -07:00
ciregenz 2be4620453 [eric] agents: extract view-builder render state into its own module 2026-06-23 02:04:05 -07:00
ciregenz aa3ce99978 [eric] agents: lift permission/pre-tool SDK hooks into gate_hooks + HookContext 2026-06-23 01:59:14 -07:00
ciregenz 0678ce3f77 [eric] agents: move tool-name enumeration into tool_catalog (drops loop upward dep) 2026-06-23 01:52:18 -07:00
ciregenz 0adddb1f05 [eric] agents: extract permission policy + HITL approval into manager/permissions/decision (Phase C) 2026-06-23 01:32:00 -07:00
ciregenz ca03e0a86b [eric] agents: fix thinking-pill per-turn token delta (baselines unified into TurnState) + harness pin 2026-06-23 01:17:10 -07:00
ciregenz fd25833565 [eric] agents: streaming harness driving real _run_agent_loop against mocked SDK (Phase 0 safety net) 2026-06-23 00:46:35 -07:00
ciregenz 88b994d0b3 [eric] agents: extract capacity-retry backoff decision into error_classify.capacity_retry_wait + tests 2026-06-23 00:14:01 -07:00
ciregenz 439d925183 [eric] agents: extract token-accounting + compaction trigger into manager/context_budget + 10-test suite 2026-06-23 00:01:51 -07:00
ciregenz 21f59ae602 [eric] agents: extract the sensitive-path permission gate into manager/permissions/path_gate + 17-test suite 2026-06-22 23:54:05 -07:00
ciregenz 556f388552 [eric] agents: extract resume + duplicate session builders into manager/session/lifecycle + tests 2026-06-22 23:29:15 -07:00
ciregenz 03d66fdd5f [eric] agents: move apply_context_window into manager/session (drops the _ prefix, convention-clean) 2026-06-22 23:26:25 -07:00
ciregenz 4dfb5a83a8 [eric] agents: extract turn_label + group_meta into manager/metadata (convention-clean) + tests 2026-06-22 23:13:53 -07:00
ciregenz 0539dc2be0 [eric] agents: extract generate_title into manager/metadata (convention-clean) + test 2026-06-22 23:05:30 -07:00