54 Commits
Author SHA1 Message Date
ciregenzandClaude Fable 5 42e4f9116b [eric] agents: transport heals respawn the CLI on the same transcript instead of rebuilding it (ENG-382)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01En8dRGsJPLrJCQBEkTH4Mp
2026-08-21 00:20:04 -07:00
ciregenzandClaude Fable 5 295a7b52e2 [eric] agents: a policy block ratchets the recap down instead of bricking the chat (ENG-358)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01En8dRGsJPLrJCQBEkTH4Mp
2026-08-20 23:44:44 -07:00
ciregenzandClaude Fable 5 5e0e89abe1 [eric] agents: a fresh heartbeat extends the unwedger to a 300s hard ceiling (ENG-368)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01En8dRGsJPLrJCQBEkTH4Mp
2026-08-20 22:22:49 -07:00
ciregenz 3235324122 [eric] agents: a user's Stop or Close is final; no watchdog resend, disk reload, read, or late-booting child revives the card 2026-08-20 19:39:33 -07:00
ciregenzandClaude Opus 5 ea04b1da11 [eric] agents: one provider verdict per ask, and a spent plan is never sold as a short wait
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014wtspwSFzZmjCx9UNPAorQ
2026-08-20 15:08:12 -07:00
ciregenzandClaude Opus 5 7c04c755ae [eric] agents: an invisible thinking pill no longer breaks the repeat-card dedup
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014wtspwSFzZmjCx9UNPAorQ
2026-08-20 12:32:14 -07:00
ciregenzandClaude Opus 5 e5e8da37ac [eric] agents: a provider's error never reaches the user as the agent's own words
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014wtspwSFzZmjCx9UNPAorQ
2026-08-20 12:22:34 -07:00
ciregenz 4be2f10d02 [eric] agents: every sub lane self-heals a mid-run token expiry before any card; codex retries wait out the rotation window instead of burning the one shot inside it 2026-08-19 17:24:23 -07:00
ciregenz e6d05dfb1b [eric] agents: RunToolScript (PTC): scripts chain allowlisted tools in one turn and only printed output enters context (hermes code_execution lift, ENG-354 lever) 2026-08-18 23:41:38 -07:00
ciregenz 4f3e68c7ac [eric] agents: the 25s unwedge verifies the sidecar is actually wedged (heartbeat file) before shooting it; alive-but-slow gets 120s (ENG-353) 2026-08-18 21:13:47 -07:00
ciregenz ced541997d [eric] agents: the unwedge watchdog runs on daemon threads, sealing the suite's flaky hang at interpreter exit 2026-08-16 22:20:46 -07:00
ciregenz 69569c8079 [eric] agents: delegation watchdog only counts children born after its own tool call, ending the mid-run sidecar shootings (ENG-327) 2026-08-16 19:23:23 -07:00
ciregenz a81958acb9 [eric] agents: first expired-token failure heals itself (fresh CLI + one hidden retry); the reconnect banner is the second rung (ENG-294) 2026-08-16 02:06:33 -07:00
ciregenz 92a05ad36a [eric] agents: stage-3 recovery ends a turn whose CLI never noticed the lost delegation result, then redoes the step 2026-08-15 23:45:43 -07:00
ciregenz 5ff16b47a5 [eric] agents: a delegated run whose result is lost recovers instead of hanging the parent forever 2026-08-15 23:38:32 -07:00
ciregenz 86e3df51c3 [eric] agents: a core MCP server that never connects rebuilds the session instead of leaving it toolless (ENG-303) 2026-08-14 17:35:27 -07:00
ciregenz c11df8eea3 [eric] agents: a frozen core tool recovers in 25s and the agent retries the step it lost 2026-08-14 17:03:53 -07:00
ciregenz c4059b5469 [eric] agents: a frozen MCP sidecar gets unwedged after 75s so the CLI's own respawn heals it, blocking tools exempt (ENG-303) 2026-08-14 11:47:34 -07:00
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