Commit Graph
30 Commits
Author SHA1 Message Date
ciregenz bb31d359ee [eric] analytics: retire the old session-snapshot cloud path (sync_session_close); full transcript + classification now come from Haik's per-message product-analytics bridge, and it was 413ing the 100KB /sync edge 2026-06-25 03:40:35 -07:00
ciregenz 36626be089 [eric] backend: one-line comments + collapse blank runs across backend root + tests (AST-verified, 1 test skipped: embedded #-lines) 2026-06-25 03:04:16 -07:00
ciregenz 7564f9c301 [eric] agents: on restart, a session whose last message is a finished assistant reply restores as completed not stopped (kills the spurious Resume button on done chats) 2026-06-25 02:42:20 -07:00
ciregenz 8d01452e24 [eric] agents: collapse per-session startup/shutdown logs into one summary line (hundreds of sessions flooded the console) 2026-06-25 02:36:12 -07:00
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 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
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 dc53394e55 [eric] agents: drop dead typing.Dict imports + dangling _conns ref (caught by ruff/pyright audit, behavior-preserving) 2026-06-24 23:26:37 -07:00
ciregenz 0f4dbd5769 [eric] agents: @typechecked the 4 history_compaction helpers (close audit gap, surface 90->93%) 2026-06-24 22:59:06 -07:00
ciregenz 6561dd6743 [eric] agents: convention fixes on merge surface (public cross-file helpers, pydantic approval memory, resolve_ask @typechecked) 2026-06-24 22:36:17 -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 6ab6217ac7 [eric] backend: final leading-_ cleanup, file-local shorts + move session cancel-event to manager-side table (off the pydantic model, kills the last underscore); naming linter now 0/0 2026-06-23 21:57:20 -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 8c0a5010e1 [eric] agents: split bulk startup/shutdown persistence into SessionPersistenceMixin (one-session vs all-sessions) 2026-06-23 14:40:20 -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 68beb599c9 [eric] agents: cloud_sync convention-clean (sync_session_close off leading-_, @typechecked, typed) 2026-06-23 11:51:29 -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 675e4cbc57 [eric] agents: make the lifecycle + messaging mixins convention-clean (p_ privates, typing, @typechecked) 2026-06-23 04:40:38 -07:00
ciregenz 2004a79fdd [eric] agents: split session lifecycle + query methods into SessionLifecycleMixin 2026-06-23 03:42:38 -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
Aidan 7b88be7003 [aidan] ui/ux: hide noisy memory/mode from chat title, fix token bug
Drop the inline 'Memory N% full' pill from AgentChat and the mode label from AgentCard so the chat header stays quiet until tools are connected. Backend now emits agent:context_update after compact and clear so the session token counters reflect the trimmed history instead of stale pre-compact totals, with a new _estimate_post_compact_input helper and matching invariants in test_v2_invariants.
2026-06-13 00:40:19 -07:00
eric ecf348f9cb [eric] fix: autocompact now actually trims the model's history instead of just showing a marker 2026-05-31 18:00:39 -07:00
ciregenz 6cf2606666 [eric] merge: fold eric/cleanup abstraction refactor into dev (resolve 9, re-home edits) 2026-05-24 16:24:59 -07:00
ciregenz 4e9f5ceb07 [eric] tree: group agent_manager helpers under agents/manager session and prompt 2026-05-23 13:08:01 -07:00