Commit Graph

1735 Commits

Author SHA1 Message Date
Teknium 74d09db450 merge(r3-27): group D 2026-09-02 22:52:17 -07:00
Teknium a8780732fb merge(r3-27): group B 2026-09-02 22:52:16 -07:00
Teknium 7a781648bf Merge branches 'simp/r3-27-D-mem0' and 'simp/r3-27-D-holo' into simp/r3-27-D 2026-09-02 22:25:12 -07:00
Teknium cc4f88aa76 refactor(memory/mem0): inline single-use setup helpers, joined summary prints, blank-line squeeze 2026-09-02 22:20:12 -07:00
Teknium 99b7bb9add refactor(memory,langfuse): compact literal/config builders and call-site formatting 2026-09-02 22:19:47 -07:00
Teknium 011f22afda refactor(memory/holographic): compact constants, release_all_under pop-in-place, hrr module docstring and blob error paths 2026-09-02 22:17:13 -07:00
Teknium 5cc1b17671 refactor(memory/holographic): inline sim lambdas into _vector_query, fold _harvestable_text into _auto_extract_facts 2026-09-02 22:14:14 -07:00
Teknium bc6f2a0d97 refactor(memory,langfuse): last small folds (tool dispatch lookup, truncation, bounded message) 2026-09-02 22:12:06 -07:00
Teknium f612374fe9 refactor(langfuse,hindsight,embedded): fold child-ending, content shape descriptor, chmod helper 2026-09-02 22:08:46 -07:00
Teknium 58a323999c refactor(memory/holographic): single extraction-pattern table, drop non-package import shims, compact schema literals and docstrings 2026-09-02 22:05:59 -07:00
Teknium 1be4e79ed9 refactor(memory,langfuse): table-driven hook registration, compact signatures, fold tool-result backfill and finalize paths 2026-09-02 22:01:49 -07:00
Teknium 48da317211 refactor(model-providers): tighten router/openrouter bodies, drop __future__ annotations (py>=3.11) 2026-09-02 21:58:26 -07:00
Teknium 7ce8de140c refactor(memory/mem0): contextlib.suppress for swallow-all blocks, derived _FLAG_KEYS, packed initialize 2026-09-02 21:58:20 -07:00
Teknium 10c1457847 refactor(langfuse,hindsight): extract _build_client from _get_langfuse; fold usage-detail and delta-turn selection 2026-09-02 21:57:58 -07:00
Teknium 12e291b0f3 refactor(memory/holographic): inline reason/update lambdas, flatten _harvestable_text, share ROLE atoms from holographic.py 2026-09-02 21:54:05 -07:00
Teknium ce45335720 refactor(memory/mem0): fold saved-summary print into _persist_provider_config, comprehension _write_env, one-path dep install 2026-09-02 21:53:30 -07:00
Teknium 68ac1576cf refactor(memory/holographic): unify probe/related/reason ranking via _vector_query, tuple-based contradict scan, compact docstrings 2026-09-02 21:50:36 -07:00
Teknium 58277b0252 refactor(memory,langfuse): fold small helpers (read_file line parse, json hint merge, env-file parse, setup prompts) 2026-09-02 21:49:17 -07:00
Teknium 40722b322c refactor(model-providers): pack keyword-only profile constructors (comments and multi-line values keep their lines) 2026-09-02 21:45:13 -07:00
Teknium cdef26332c Merge branches 'simp/r3-27-D-super' and 'simp/r3-27-D-rb' into simp/r3-27-D 2026-09-02 21:44:12 -07:00
Teknium 002ace8602 refactor(memory/holographic): _tool_handler dispatch factory, retrieval _shift/_phases helpers, module-level FTS constants, drop redundant sync_turn no-op 2026-09-02 21:42:54 -07:00
Teknium 7b4891a2f5 refactor(memory/mem0): inline single-use setup helpers, table-driven env_writes, compact __init__ 2026-09-02 21:42:31 -07:00
Teknium 4c3e5cf2d9 refactor(memory,langfuse): unify recall/reflect calls, client close, hook client+key resolution; dict-comprehension metadata builders 2026-09-02 21:41:07 -07:00
Teknium 9338e21093 refactor(model-providers): compact reasoning-translation profiles (opencode, kimi, zai, minimax, nous, qwen, custom, upstage, nebius, meta-ai, deepseek, copilot, deepinfra, vertex, gemini), fold catalog tuples 2026-09-02 21:36:03 -07:00
Teknium d345e1a02a refactor(memory/mem0): _try breaker wrapper for background paths, _pg_ready, vector-description table, compact comments 2026-09-02 21:35:10 -07:00
Teknium abe730fa40 refactor(memory/byterover): compact provider init, sync_turn and tool result path 2026-09-02 21:33:46 -07:00
Teknium a6b45ffb1f refactor(memory/supermemory): _quietly helper for log-and-return, tuple-driven tool schemas, inline single-use helpers 2026-09-02 21:32:00 -07:00
Teknium 7984db2e76 refactor(memory/retaindb): tighten provider init/prefetch/file tools and client headers 2026-09-02 21:31:56 -07:00
Teknium b5721f7cc4 refactor(memory): compact discovery/config-schema docs, fold CLI scan early-returns, dedupe hindsight setup/template request building 2026-09-02 21:28:43 -07:00
Teknium 94ed143de2 refactor(hindsight): split initialize() into settings phase helpers; unify prefetch join and retain enqueue 2026-09-02 21:18:13 -07:00
Teknium e02bb9e437 refactor(memory/holographic): lambda action table, _harvestable_text helper, entity lookup loop, hrr blob decoders 2026-09-02 21:17:08 -07:00
Teknium 38a5c86729 refactor(memory): compact retaindb queue bootstrap/overlay and byterover config loader/schemas 2026-09-02 21:16:10 -07:00
Teknium 034078214c refactor(memory/mem0): _setup probe helper, single TOOL_SCHEMAS table, closing() in backend, drop banners/restating docstrings 2026-09-02 21:15:59 -07:00
Teknium 8e35634acc refactor(hindsight): compact __init__ state setup, header docs and helper docstrings 2026-09-02 21:13:55 -07:00
Teknium cfa88e0104 refactor(memory/byterover): tool dispatch as one data table (arg, fail msg, runner, formatter) 2026-09-02 21:13:20 -07:00
Teknium 9e3fbba4d2 refactor(memory/supermemory): unify client build, tool dispatch with error prefixes, config loading; drop dead prefetch state 2026-09-02 21:12:37 -07:00
Teknium b0b8e39862 refactor(memory/retaindb): compact queue connection handling, prefetch assembly, dispatch and shutdown 2026-09-02 21:12:01 -07:00
Teknium b0f7d07773 refactor(memory/holographic): store _one/_write SQL helpers, retrieval atom helper, compact docstrings 2026-09-02 21:09:39 -07:00
Teknium a2811e03f1 refactor(memory/retaindb): inline single-use prefetch fetchers into jobs table, fold config strip, merge queue close helpers 2026-09-02 21:06:38 -07:00
Teknium 968cbef157 refactor(memory/mem0): table-driven tool dispatch, shared _oss_hint/_truthy/_add helpers, packed provider tables 2026-09-02 21:05:29 -07:00
Teknium 8c83b89dd4 refactor(model-providers): actual reuses base fetch_models + hermes_cli normalizer; commandcode anthropic subclasses chat profile; compact router/openrouter docstrings 2026-09-02 21:04:38 -07:00
Teknium c829298476 refactor(memory/byterover): flatten _run_brv error handling, compact provider init/hooks/dispatch 2026-09-02 21:01:39 -07:00
Teknium e501ee1465 refactor(langfuse): unify tool-result capture, root-close and flush helpers; compact docstrings 2026-09-02 20:57:44 -07:00
Teknium 42291693ab refactor(memory/retaindb): fold HTTP calls into one _http helper, unify debug-logged failures via _quiet, compact schemas/client 2026-09-02 20:57:29 -07:00
Teknium d9beaff938 refactor(langfuse): drop orphaned _capture/_trace modules (never imported; superseded by __init__) 2026-09-02 20:34:44 -07:00
Teknium 4d1880e0bf fix(integration): restore subprocess encoding/stdin guards dropped in simplification
Simplification workers collapsed subprocess call sites into shared kwargs
helpers and dropped the Windows/TUI safety kwargs on the way:

- encoding='utf-8', errors='replace' restored on text=True runs in
  copilot_acp_client, hermes_cli/setup (vercel install), managed_uv
  (codesign steps), local_runtime/hardware._stdout, a2a adapter.
- stdin=subprocess.DEVNULL restored on copilot probe, verify/runner
  _SUBPROCESS_KW, iron_proxy._run, google_meet playwright/system_profiler,
  simplex convert, whatsapp _RUN_TEXT, mem0 ollama serve Popen.
  google_meet sudo/brew install keeps inherited stdin (user-confirmed,
  may prompt) — marked noqa: subprocess-stdin.
- Windows-safe SIGKILL: getattr(signal, 'SIGKILL', SIGTERM) in
  verify/runner; photon _kill call re-marked windows-footgun: ok
  (unreachable on win32).
- scripts/check_subprocess_stdin.py now recognizes **kwargs splats
  (**_KW / **_kw(...)) ONLY when the same-file definition provably sets
  stdin= — covers tui_gateway _capture_run_kwargs/run_kw. Parity test added.
2026-09-02 16:36:10 -07:00
Teknium ea6644e1dc fix(integration): telegram dm-topic persist reads config.yaml via read_user_config_raw()
Raw yaml.safe_load of config.yaml is only legal in owner modules; the
write-back round-trip uses the sanctioned raw primitive. Behavior-identical
(same file, same parse, {} on missing).
2026-09-02 15:41:16 -07:00
Teknium ae70536485 Merge branch 'simp/web' into simp/integration 2026-09-02 15:01:45 -07:00
Teknium 01b523ee96 Merge branch 'simp/adapters' into simp/integration 2026-09-02 14:19:41 -07:00
Teknium a07dceb01f refactor(adapters/small_group): 5147->3565; line/email/ntfy/homeassistant/sms send-family and standalone-send dedupe, god-method extraction, dead find_pending_for_chat removed 2026-09-02 14:06:48 -07:00