Commit Graph
33 Commits
Author SHA1 Message Date
ciregenz 0d093cc5f8 [eric] backend: one-line every comment + collapse 3+ blank runs across apps/ (AST-verified identical, -lines); CLAUDE.md one-line-comment rule 2026-06-25 02:29:04 -07:00
ciregenzandciregenz 6a84b0327a [eric] analytics: re-port ANALYTICS_OVERVIEW.md SDK contract into the subpackage so the docstring reference resolves 2026-06-24 18:38:10 -07:00
ciregenzandciregenz edd800596e [eric] analytics: group into service/analytics/ subpackage (linter folder-fix), rewire imports, trim ws_manager comment 2026-06-24 18:38:10 -07:00
ciregenzandciregenz bb92f6b205 [eric] analytics: convention pass: split into 3 modules (<300 each), pydantic models replace dicts, @typechecked, one-line comments 2026-06-24 18:36:58 -07:00
ciregenzandciregenz 089383f0cb [eric] analytics: trim my authored comments to one-line WHY-only; drop _locale leading-underscore 2026-06-24 18:36:58 -07:00
ciregenzandciregenz e417ebf1ff [eric] analytics: forward-port swarm-analytics ingest onto eric/dev (configurable base_url, lifecycle + frontend-event bridge) 2026-06-24 18:32:02 -07:00
ciregenz 1bcc78567b [eric] backend: leading-_ -> p_/P_/public for class methods + module conditional-block vars + _ReadyServer class + _pending_oauth import; promote cross-file (search_ddg) 2026-06-23 21:50:08 -07:00
ciregenz c5fd4f6b86 [eric] apps: leading-_ -> p_ for import aliases (import x as _y) across apps modules (file-local bindings, p-private 0) 2026-06-23 21:15:43 -07:00
ciregenz 798448acca [eric] apps: leading-_ -> p_ for function-local vars/args/nested-fns across 53 apps modules (scope-aware AST rename, module symbols untouched, p-private 0) 2026-06-23 21:11:44 -07:00
ciregenz 1750363f11 [eric] service+subscription+auth+shims: leading-_ -> p_/public; promote cross-file public (spool_path/conn/install_id/get_user_id/sync_pro_routing/etc.), fix qualified+string test refs 2026-06-23 20:53:18 -07:00
ciregenz deeab52ed4 [eric] settings: leading-_ -> p_/public in store+settings+credentials+redaction; promote cross-file API public (save_settings/atomic_write_settings/migrate_legacy_fields), drop redundant _save_settings alias, fix re-export + cache test refs 2026-06-23 20:24:06 -07:00
Eric ec0f9600bc [eric] backend: remove cold-start diagnostics, keep the fix + slim lifespan timer
- the is_running() fast-fail fix (v1.3.91) verified cold backend-http-ready
  23.5s -> 3.86s and warm 5.0s -> 3.32s on the signed build, no 9Router regression
- strip the [perf] bg entry logs from mcp/skill/settings/service/9router now that
  the stall is diagnosed; keep Apps.py per-lifespan timing but only print a
  lifespan over 50ms plus the total (cheap regression tripwire)
- document the root cause + fix + before/after in docs/perf/winv2/README.md
2026-06-17 19:28:23 -07:00
Eric 90aa66f6ce [eric] backend: timestamp each startup background task to pin the cold-start loop stall
- instrumented cold v1.3.88 proved the lifespans are 141ms even cold; the ~18s
  cold gap is a backgrounded create_task blocking the event loop AFTER lifespan
  startup but BEFORE uvicorn reports ready (what the health probe waits on)
- add [perf] entry/segment logs to the post-startup background tasks: mcp refresh,
  skill refresh, 9router ensure (+ prelude bisection), and svc._post/_post_or_spool
- logging only, no behavior change; next cold log names the exact blocking call
2026-06-17 18:11:46 -07:00
Eric bca0050dcb [eric] perf: start 9router in background instead of blocking the http bind
- service lifespan was awaiting ensure_9router (~7.4s, up to ~18s cold) on the boot path

- dispatch already ensures it lazily; serialize ensure_running so no double-spawn

- cuts warm backend-ready ~9-10s toward ~2-3s
2026-06-16 21:59:16 -07:00
ciregenz f728a1e485 [eric] service: spool 429/timeout/5xx instead of dropping, warn on 4xx rejects + spool evictions 2026-06-09 15:50:40 -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 cd694ce6f1 [eric] usage: accurate tool calls + run time, drop empty-draft skew, quirky savings line 2026-05-24 02:15:19 -07:00
ciregenz 33aa485a12 [eric] cycles: extract settings persistence into store leaf 2026-05-23 07:12:19 -07:00
ciregenz 8d76f39c67 [eric] cycles: pull APP_VERSION into its own leaf 2026-05-23 07:06:42 -07:00
ciregenz a30229bbda [eric] attach: native PDFs on Claude/Gemini/OR, cost calc, meter fix, 9router bypass for image blocks 2026-05-22 23:43:54 -07:00
ciregenz f59bf0db9b defluff (frontend + backend): strip em-dashes + shorten docstrings + drop dead UI files (cosmetic only, no schedule code) 2026-05-20 05:36:17 -07:00
ciregenz 5b0c6e1df3 defluff: strip em-dashes + shorten docstrings across backend (cosmetic only, no logic change) 2026-05-20 05:25:23 -07:00
ciregenz 89cbfe9749 [eric] onboarding polish + perf — humanized AC popups, batched /submit (1 POST/sec vs 100s), group-meta dedup,
sidebar auto-expand, cursor offset fixes
2026-05-09 23:34:40 -07:00
ciregenz 0c841bdad4 [eric] onboarding revamp — agentic cursor walks users through 8 setup steps, WIP fixes: Gemini schema scrub, OpenAI GPT-5 routing, websearch cascade, gpt-5 is still a bit flaky... 2026-05-09 01:40:37 -07:00
ciregenz fb78f013f3 [eric] account UI + proxy URL fix 2026-05-07 11:17:01 -07:00
ciregenz 7a6a49655c [eric] account flow + settings tweaks 2026-05-07 09:57:49 -07:00
ciregenz d8a1e333be [eric] service layer touchups 2026-05-06 00:03:15 -07:00
ciregenz 415ab70b53 [eric] unify telemetry surface, install_method, frontend trackEvent 2026-05-05 14:35:43 -07:00
ciregenz 49c649e3d9 [eric] single sync function for all state syncing 2026-05-05 12:11:07 -07:00
ciregenz b2015caca7 [eric] batch heartbeats locally before sending 2026-05-05 00:21:52 -07:00
ciregenz 59e20e11ea [eric] clean up remaining non-opaque references 2026-05-04 22:25:48 -07:00
ciregenz 3c42d8738f [eric] refactor internal service layer 2026-05-04 19:39:19 -07:00
ciregenz b7a1faee38 [eric] delete miscelaneous scrapped code 2026-05-04 19:15:42 -07:00