Commit Graph

463 Commits

Author SHA1 Message Date
Teknium 17cdf89202 refactor(openviking): compact provider state init, tool formatters, lock/shutdown bookkeeping 2026-09-02 22:24:45 -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 def8c585a8 refactor(honcho): tighten provider tool handlers and session peer-config sync 2026-09-02 22:19:33 -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 5b2c2dd62f refactor(openviking): fold health-payload predicates into the identity probe, merge emit/secret-file helpers 2026-09-02 22:09:36 -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 bd45e5f7b4 refactor(honcho): unify guarded-session prologue in session_context; compact dialectic 2026-09-02 22:07:48 -07:00
Teknium cc67af75c4 refactor(honcho): compact oauth + oauth_flow; drop _atomic_write_config for utils.atomic_json_write 2026-09-02 22:07:48 -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 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 67ad059f0b refactor(openviking): inline single-use helpers, compact client/probe/tool code paths 2026-09-02 21:57:21 -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 58f5d23f78 refactor(honcho): compact cli setup/status/identity bodies (help bytes identical) 2026-09-02 21:48:08 -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 33f883219a refactor(honcho): compact client/session modules (no behavior change) 2026-09-02 21:36:44 -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 7760efd76e refactor(openviking): compact setup wizard — shared cancel option, _say, inline profile validation 2026-09-02 21:34:04 -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 93ee1c0e38 refactor(honcho): compact cli helpers and provider bodies (no behavior change) 2026-09-02 21:20:55 -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 bc2d79058b refactor(openviking): unify turn-upload/thread-tracking/settings helpers, drop dead wrappers 2026-09-02 21:18:06 -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 c829298476 refactor(memory/byterover): flatten _run_brv error handling, compact provider init/hooks/dispatch 2026-09-02 21:01:39 -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 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 57c35858e3 refactor(plugins/memory): holographic/supermemory/retaindb/byterover — action dispatch tables, unified HTTP helpers, dead code removal; provider registry dedupe 2026-09-02 13:30:10 -07:00
Teknium 87a450145c refactor(plugins/memory): mem0 — table-driven setup prompts, tool dispatch, compact backend 2026-09-02 13:30:10 -07:00