36 Commits
Author SHA1 Message Date
ciregenz 4cf0971693 [eric] tool-ui: asks pair by tool_use_id, early clicks held, stops release waits, dead asks go quiet 2026-08-10 14:45:11 -07:00
ciregenz b47ad9c60f [eric] agents: active time is stall-capped inter-event work, so one wedged turn can't book 54 hours of 'agent time' 2026-08-09 14:08:34 -07:00
ciregenz 5eca1df72d [eric] agents: mid-turn provider backoff shows a muted retrying pill instead of a dead card, and transient pills survive session status frames 2026-08-09 14:01:11 -07:00
ciregenz 260d5a3de3 [eric] agents: the CLI's silent provider-500 retries become breadcrumbs and near-miss ledger entries 2026-08-07 05:39:46 -07:00
ciregenz 1b2203fa75 [eric] boot: anthropic and the sdk+mcp chain leave the import graph, api-ready median 2531 to 1843ms, hooks re-import at call time 2026-08-06 16:33:22 -07:00
ciregenz cc50fda07b [eric] agents: a silent-quit turn gets one hidden continue nudge, and the context meter reads real context not summed billing 2026-08-03 20:12:50 -07:00
ciregenz 5c9710712e [eric] agents: mid-turn context breaker, one giant turn compacts and continues instead of starving 2026-08-03 19:48:55 -07:00
ciregenz e9eb7a1b81 [eric] backend: surface error-shaped ResultMessages as failed turns instead of silent successes 2026-07-31 14:17:17 -07:00
ciregenz 078daf83a1 [eric] merge: bring eric/onboarding up to date with eric/dev 2026-07-19 23:11:56 -07:00
ciregenz 547ca0d13b [eric] app-builder: render-clean gate now covers agent-mode app builds (onboarding), not just view-builder, so a broken app never finishes 'done' 2026-07-19 18:09:22 -07:00
ciregenz 24d197eefd [eric] cleanup: delete the dead CLI-Agent hook branch (SpawnAgent route replaced it), the force-denied Cron*/no-op InvokeAgent FULL_TOOLS entries, and the unused stale-model resolve_model/MODEL_MAP 2026-07-16 17:09:00 -07:00
SirKentut f542007a3c [pierre] fix: surface app terminal + console errors to the App Builder 2026-07-10 00:37:02 -07:00
ciregenz 953fddc99e [eric] apps: auto hard-reload the app card when a turn installed deps (soft reload can't see new packages) 2026-07-07 01:31:35 -07:00
ciregenz f787414fc6 [eric] agents: context-pressure valve, one fresh-recap retry when the CLI dies mid-compaction-churn 2026-07-05 21:40:16 -07:00
ciregenz 0cd5e0022c [eric] agents: strip the temporary TTFT probes (pool drift-diag stays, gated OPENSWARM_POOL_DIAG) 2026-07-03 15:49:57 -07:00
ciregenz f671aacb43 [eric] agents: extend TTFT probes to full waterfall (msg_received/thinking/first_text/result) 2026-07-03 03:22:13 -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 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