Commit Graph
20 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 87db6a8a2b [eric] agents: drop orphaned compaction comment block (code moved in refactor) + tighten a 15-line narrow-wrapped comment to 3 2026-06-25 01:57:12 -07:00
ciregenz 448c0deafd [eric] agents: rename cryptic names — LivePartial->PartialReply, session/lifecycle.py->resume_and_duplicate.py (it held resume/duplicate, and collided with SessionLifecycle) 2026-06-25 00:58:57 -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 e1e25eb891 [eric] agents: drop dead build_connected_tools_context (disabled in 27149eeb) + always-None param + write-only thinking.total_chars 2026-06-23 14:50:15 -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 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 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 aa3ce99978 [eric] agents: lift permission/pre-tool SDK hooks into gate_hooks + HookContext 2026-06-23 01:59:14 -07:00
ciregenz 020c79319c [eric] agents: convention pass on loop split (Optional over | None, no leading-_ locals) 2026-06-23 01:43:45 -07:00
ciregenz e2b6aaeb0c [eric] agents: drop leading-underscore locals in thinking.py to meet the p_-convention 2026-06-23 01:23:31 -07:00
ciregenz a5f5f90f81 [eric] agents: extract the consolidated-thinking pill + ticker into manager/streaming/thinking (Phase B) 2026-06-23 01:20:49 -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 86a46449db [eric] agents: thread the hot turn streaming state through a TurnState model (Phase A slice 2, nonlocals eliminated) 2026-06-23 01:02:24 -07:00
ciregenz dace271407 [eric] agents: thread the turn's thinking state through a ThinkingState model (Phase A slice 1) 2026-06-23 00:56:19 -07:00