Commit Graph
12 Commits
Author SHA1 Message Date
ciregenz d5cd4db026 [eric] agents: one-line every comment + collapse 3+ blank runs across manager/ surface (33 files, -550 lines, code byte-identical) 2026-06-25 02:16:14 -07:00
ciregenz b9cea6c647 [eric] agents: drop the Mixin suffix, name the 9 manager classes by domain (Messaging, SessionLifecycle, ...) + AgentManagerState -> AgentManagerProtocol 2026-06-25 00:50:47 -07:00
ciregenz d0dd5e799b [eric] agents: typed AgentManagerState mixin base re-enables pyright attr-access + fixes 2 broken outputs imports (pyright caught them) 2026-06-25 00:32:16 -07:00
ciregenz d29076df93 [eric] agents: wire the unwired out-of-credits card into handle_run_error + test (is_out_of_tokens/extract_reset_hint) 2026-06-25 00:14:12 -07:00
ab6037267c [aidan] fix/agent-chat: stop agents reading the recap as spoofed tool output (#104)
* [aidan] fix/agent-chat: ground fresh-session recap and label platform notes as trusted

* [aidan] fix/mcp-activate: fork on activate instead of fresh-session restart

* [eric] agents: add strip_forged_sentinels, defang spoofed platform-note/recap tags in untrusted text

* [eric] agents: sanitize untrusted tool output in post_tool_hook before trusted notes append

---------

Co-authored-by: cire <134991075+ciregenz@users.noreply.github.com>
2026-06-24 18:40:15 -07:00
ciregenz 755862b7b5 [eric] backend: rename single-export modules to match their export (naming convention sweep) 2026-06-24 01:30:04 -07:00
ciregenz 6bf543831f [eric] agents: rename single-export modules to match their export (handle_run_error, register_builtin_mcp_servers) 2026-06-24 01:03:55 -07:00
ciregenz 1e0b51b43e [eric] agents: fix builtin MCP server script paths broken by run-loop decomposition (seal dir off package) 2026-06-24 00:46:34 -07:00
ciregenz 553b307a57 [eric] agents: run/ decomposition follows conventions (naming, @typechecked+types, p-private) 2026-06-24 00:33:21 -07:00
ciregenz a18b99cc84 [eric] agents: extract per-turn options build into manager/run/run_options.py (RunOptionsMixin) + helpers (web-mcp/web-hint/thinking/pre-send-guard); agent_manager 933->256, now UNDER the 300 ceiling 2026-06-24 00:03:15 -07:00
ciregenz 70b4cae84f [eric] agents: extract streaming-turn + capacity-retry into manager/run/turn_runner.py (TurnRunnerMixin); agent_manager 933->709, trim now-unused imports 2026-06-23 22:45:15 -07:00
ciregenz b3e1fe224e [eric] agents: extract run-error classification (long-context/capacity/free-trial/auth/unknown-model cards) into manager/run/error_cards.py; agent_manager 1166->932 2026-06-23 22:37:38 -07:00