Commit Graph
56 Commits
Author SHA1 Message Date
ciregenz 21e1400e3c [eric] telemetry: a silent quit carries the same envelope as a hard error, found by reading the sink 2026-08-07 12:27:38 -07:00
ciregenz 42b14165d5 [eric] telemetry: the missing-CLI error card carries a flight envelope, and a test keeps every error family honest 2026-08-07 07:25:57 -07:00
ciregenz bbf086329f [eric] agents: a router-down turn names its cause instead of dying unclassified, found by the forced-failure battery 2026-08-07 06:23:45 -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 ef8806eda3 [eric] latency: a short first message no longer drifts the boot fingerprint, so the pre-warmed CLI is actually used (3.92s -> 1.58s median, 0 wasted spawns) 2026-08-07 00:34:54 -07:00
ciregenz 2b6178c12e [eric] telemetry: crumbs at every spawn phase and stream milestone, envelopes carry journey and auth context 2026-08-07 00:02:29 -07:00
ciregenz d082af7e03 [eric] telemetry: envelopes get real concurrency via a sessions provider, every turn opens with a baseline crumb 2026-08-06 22:57:53 -07:00
ciregenz 565009f0c5 [eric] telemetry: auth and overflow errors carry flight envelopes, router revives hit the near-miss ledger 2026-08-06 22:42:48 -07:00
ciregenz 86e323cbce [eric] telemetry: per-session flight recorder, error envelopes name cause+lane+phase+crumbs, silent recoveries hit the ledger 2026-08-06 22:39:30 -07:00
ciregenz dbade1b25e [eric] agents: a turn whose router died mid-flight re-ensures it and resumes instead of a terminal snag 2026-08-06 20:50:13 -07:00
ciregenz 8042da10da [eric] agents: the CLI pre-warms while the user types, first-turn answer median 2.42s to 1.23s, one spawn per session enforced 2026-08-06 15:50:32 -07:00
ciregenz bd822c16ed [eric] agents: spawn-phase logs carry monotonic ms stamps so a turn's latency attributes itself from one grep 2026-08-06 15:31:03 -07:00
ciregenz 42103a4e23 [eric] agents: launch honors its prompt instead of silently dropping it, spawn phases log their trail (the ENG-131 ghost hang) 2026-08-06 15:19:02 -07:00
ciregenz b6f8fbb5ef [eric] agents: silent-quit re-nudges are earned by new tool work, capped at 3, stalls surface honestly (ENG-121 family) 2026-08-05 20:10:54 -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 b29c75d5e0 [eric] agents: crossing the compact threshold now actually trims next turn, and a pasted log can't ride the recap back over the wall 2026-08-03 15:47:18 -07:00
ciregenz 9eef9d6a1d [eric] agents: a context overflow now compacts and retries once instead of dying, and never fakes a completed 2026-08-03 15:24:11 -07:00
ciregenz 500e6ebe59 [eric] mcp: activating a server ends the turn, so the model stops guessing tool names 2026-08-02 21:27:34 -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 71f480ecfd [eric] client-pool: stop hashing the compaction cutoff, it respawned the CLI every turn past 65% context 2026-07-31 01:17:14 -07:00
ciregenz df0e4a2393 [eric] merge eric/onboarding into eric/dev; version 1.6.0 2026-07-28 22:20:34 -07:00
ciregenz 2a42a1c460 [eric] agents: AV-repair card for missing CLI, stderr tail on masked exit-1 cards, group-unwrap in the fatal path 2026-07-28 15:49:59 -07:00
ciregenz e498484409 [eric] agents: pool state typed end to end (protocol attrs + SdkClientLike casts), pyright clean 2026-07-28 11:06:53 -07:00
ciregenz f2bc65b204 [eric] agents: web results carry a render-with-ShowUI reminder when openswarm-ui is live (system-prompt nudge alone loses to the prose prior; live-proven haiku weather widget) 2026-07-20 13:23:05 -07:00
ciregenz 9b440a3c18 [eric] agents: OSW_TOOL_MANIFEST flag prunes dead preset built-ins from the tool surface (default off, no tool loss) 2026-07-17 13:14:26 -07:00
ciregenz ce3e67d613 [eric] agents: SDK deny list merges effective_disallowed + hard blocks (plain reassignment silently discarded the computed denies; runtime gate was the only wall) 2026-07-16 19:30:40 -07:00
ciregenz 82d4acd6dd [eric] dashboard: agent clicks in its own browser no longer steal selection (browser chased the cursor mid-drag, spawn-beside re-anchored); also block Task, the 2.1.122 name of the builtin sub-agent tool 2026-07-15 17:30:22 -07:00
ciregenz 128869f0e6 [eric] agents: native SpawnAgent tool (prompt + run_in_background only) replaces the CLI's built-in Agent; child runs as a real dashboard session 2026-07-15 17:13:37 -07:00
ciregenz fd9e32309e [eric] agents: fetch live connections for the sub-agent model pin (run/ split starved it with [], every sub-agent 401d on router routes) 2026-07-15 15:48:24 -07:00
ciregenz a1a461eb57 [eric] agents: cap persistent client pool + background sweeper (bound resident memory) 2026-07-07 17:33:35 -07:00
ciregenz 9da027a948 [eric] context: distill dropped history via aux LLM on rebuild + model-aware compaction threshold 2026-07-06 15:25:58 -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 a459177d39 [eric] lint: drop p_ prefix from healer/pool names the tests access (p-private boundary rule) 2026-07-05 16:24:13 -07:00
ciregenz e0f5414cda [eric] web-search: gate the browser-fallback nudge on browser-delegation availability 2026-07-05 16:19:12 -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 d36fd6e4c6 [eric] agents: persistent client default ON (kill switch OPENSWARM_PERSISTENT_CLIENT=0); conftest pins tests off 2026-07-03 15:30:01 -07:00
ciregenz 5605fee826 [eric] agents: client-pool idle eviction (30min TTL) + fingerprint field-drift diagnostics 2026-07-03 03:53:19 -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 3e0c4811e2 [eric] agents: wire persistent client behind OSW_TTFT_PERSISTENT_CLIENT (warm TTFT 535ms -> 6ms) 2026-07-03 02:48:16 -07:00
ciregenz 0116248af8 [eric] agents: persistent-client pool w/ boot-fingerprint reuse + seeded invariant tests (flag-gated, default off) 2026-07-03 02:48:15 -07:00
ciregenz 93cd94d4b4 [eric] agents: rename strict-mcp kill switch to OPENSWARM_STRICT_MCP (repo env convention) 2026-07-03 02:35:14 -07:00
ciregenz ab0caa1054 [eric] agents: gated TTFT phase probes (OSW_TTFT_PROBE) for latency profiling 2026-07-03 02:23:32 -07:00
ciregenz f3c53ea3cf [eric] agents: strict-mcp-config skips already-blocked claude.ai MCPs (~74% faster TTFT) 2026-07-03 02:22:50 -07:00
SirKentut 75df12a1b7 [pierre] feat: merge app-use (OPENSWARM_APP bridge + AppAgent) onto eric/dev, convention-clean
Brings the app-use feature (OPENSWARM_APP bridge, AppAgent delegation tool,
BrowserClickPoint, autopilot supervision) onto the linted eric/dev base.

- Resolved 9 conflicts favoring eric's refactored structure; renamed all of
  pierre's _-prefixed names to p_/P_, kept eric's prior_messages resume guard.
- Made the 4 test-exercised bridge helpers public (p-private rule).
- Wired AppAgent into browser_delegation_tools + BuiltinTool registry and
  threaded selected_app_output_ids -> OPENSWARM_SELECTED_APP_IDS (eric had
  forward-ported the prompt but not the tool, so it was unreachable).
- Linter clean (underscore/p-private/ruff/cycles 0); 301 backend tests pass.
2026-06-26 02:44:10 -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 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