Teknium
ad46b3a812
Merge branch 'simp/r3-03' into simp/integration3
2026-09-02 22:39:25 -07:00
Teknium
3635f9aa4a
refactor(agent/agent_init): reuse agent_runtime_helpers._ra instead of a duplicate lazy run_agent shim
2026-09-02 22:22:03 -07:00
Teknium
17412822d9
refactor(agent): try/except/pass -> contextlib.suppress (28 sites, AST round-trip verified)
2026-09-02 22:00:23 -07:00
Teknium
dc65a89eb5
Merge branch 'simp/r3-07-D_skills' into simp/integration3
2026-09-02 21:59:24 -07:00
Teknium
8cd4e27536
Merge branch 'simp/r3-06-p2-MOA-C' into simp/integration3
2026-09-02 21:59:23 -07:00
Teknium
7495f6c3c4
Merge branch 'simp/r3-06-p2-MOA' into simp/integration3
2026-09-02 21:59:17 -07:00
Teknium
d500d5ed1e
Merge branch 'simp/r3-06-p2-MM' into simp/integration3
2026-09-02 21:59:16 -07:00
Teknium
c09ba4b4c2
Merge branch 'simp/r3-03-aux-J' into simp/integration3
2026-09-02 21:59:14 -07:00
Teknium
c9dc5c556e
Merge branch 'simp/r3-07-E2' into simp/integration3
2026-09-02 21:58:55 -07:00
Teknium
bb19c31f3b
Merge branch 'simp/r3-04-p4' into simp/integration3
2026-09-02 21:58:51 -07:00
Teknium
b5ad36ac81
Merge branch 'simp/r3-08' into simp/integration3
2026-09-02 21:57:13 -07:00
Teknium
d24a1f0133
Merge branch 'simp/r3-07' into simp/integration3
2026-09-02 21:57:13 -07:00
Teknium
2e6393e4fa
Merge branch 'simp/r3-06' into simp/integration3
2026-09-02 21:57:12 -07:00
Teknium
2c10a83ea7
Merge branch 'simp/r3-05' into simp/integration3
2026-09-02 21:57:11 -07:00
Teknium
c10ab3264e
Merge branch 'simp/r3-04' into simp/integration3
2026-09-02 21:57:10 -07:00
Teknium
7b699005c8
refactor(agent): AST-identical blank-line compaction in bedrock/codex/client_lifecycle
2026-09-02 21:55:10 -07:00
Teknium
4cfe4f4857
refactor(agent): compact models_dev registry/override helpers; inline _fetch_registry
2026-09-02 21:55:07 -07:00
Teknium
7a58f5a227
refactor(agent): pack moa_loop call sites, inline _dumps_or_str/_split_references, fold interrupt settle into wait loop
2026-09-02 21:50:38 -07:00
Teknium
04a2c422f6
refactor(agent/trace_upload,replay_cleanup): notice tables, token env tuple, single-branch tail loops
2026-09-02 21:50:13 -07:00
Teknium
f42fc3c5c7
refactor(agent): compact token estimation helpers (shadow, fingerprint, tools cache)
2026-09-02 21:49:03 -07:00
Teknium
acfa6e3691
refactor(agent): pass-2 structural compaction of prompt_caching and native_compaction
...
- prompt_caching: fold _count_cache_markers' nested _marked into one sum over
[*messages, *parts, *tools]; collapse the open-turn guard + endpoint append in
_completed_transaction_endpoint_indexes into one predicate; enumerate() in
apply_anthropic_cache_control's non_sys scan; effective_cache_ttl tail -> one
conditional; pack wrapped calls/comprehensions to <=120 cols; tighten
docstrings (every WHY kept).
- native_compaction: resolve_compact_threshold upper -> one conditional expr;
warn-once guard -> single if; _extract_item_text part loop drops the str/dict/
else ladder (candidates default (part,), non-str filtered by the same isinstance
check); _retain_summary early-return -> guarded body; pack wrapped calls and
docstrings.
Zero behavior change: E corpus (224MB) and C corpus byte-identical vs base
113f04616bd; extra corpus for warn-once/_extract_item_text edges identical;
68 test files / 1359 tests green; no symbol added/removed vs pass 1.
2026-09-02 21:44:48 -07:00
Teknium
11e0f3862d
refactor(agent): table-drive cache validation drops and sourced provider resolvers in get_model_context_length
2026-09-02 21:44:44 -07:00
Teknium
eb92eb3a38
Merge branch 'simp/r3-07-C_relay' into simp/r3-07
2026-09-02 21:44:11 -07:00
Teknium
d0f1e6cf4b
Merge branch 'simp/r3-04-w2' into simp/r3-04
2026-09-02 21:43:04 -07:00
Teknium
d0adf6486e
refactor(agent): hug/pack bracket spans in async_utils + aux_accounting, fix E305 blank lines
2026-09-02 21:38:20 -07:00
Teknium
ea8b3250f4
refactor(agent): dispatch local context probes by server type; unify Ollama /api/show calls
2026-09-02 21:36:24 -07:00
Teknium
cd1cec9945
refactor(agent/subagent_lifecycle): request rejection table, _clip result strings, compact launch/handle construction
2026-09-02 21:33:41 -07:00
Teknium
30ffd52f84
refactor(agent): compact probe/cache helpers and payload parsers in model_metadata
2026-09-02 21:27:46 -07:00
Teknium
bdbc003c9d
Merge branch 'simp/r3-03-aux' into simp/r3-03
2026-09-02 21:27:42 -07:00
Teknium
874843146b
refactor(agent/relay_runtime): conversation initializer context built once
2026-09-02 21:22:33 -07:00
Teknium
b41e73d0e7
refactor(agent/session_persistence): shared _persist_lock, _existing_log_is_larger phase helper, comprehension durable-content
2026-09-02 21:21:34 -07:00
Teknium
fdd42fc8f8
Merge branch 'simp/r3-03-rth' into simp/r3-03
2026-09-02 21:19:21 -07:00
Teknium
7e7ac989d8
Merge branch 'simp/r3-03-review' into simp/r3-03
2026-09-02 21:19:18 -07:00
Teknium
61893464dc
Merge branch 'simp/r3-03-init' into simp/r3-03
2026-09-02 21:19:17 -07:00
Teknium
aca6425ee9
refactor(agent/relay): Noop host via staticmethod lambdas; grouped default-flag declarations
2026-09-02 21:17:48 -07:00
Teknium
fca1b0bc4c
refactor(agent/relay_llm): accumulator/translator micro-collapses
2026-09-02 21:13:25 -07:00
Teknium
5ecba78cd8
refactor(agent/relay_runtime): merge active_turn guards; small guard inversions
2026-09-02 21:07:53 -07:00
Teknium
11dab00851
refactor(agent/relay_runtime): plugin config tracks ownership via _relay alone; fold intercept/subagent guards
2026-09-02 21:05:57 -07:00
Teknium
f6fe5452de
refactor(agent/title_generator): compact constant tables, collapse redundant empty-guards
2026-09-02 20:57:06 -07:00
Teknium
e60844be2e
refactor(agent/relay_llm): logical-scope completion builds output outside the locks; memoized push assignment
2026-09-02 20:55:00 -07:00
Teknium
fa06ccf236
refactor(agent/relay_runtime): _operation() context manager for tracked Relay calls
2026-09-02 20:51:04 -07:00
Teknium
5e15b982d5
refactor(agent/auxiliary_client): keep _candidate_context_window as a probe-referenced helper
2026-09-02 20:48:04 -07:00
Teknium
c6b813e9d6
refactor(agent/relay): hoist relay_tools guard closure; suppress/tuple-swap micro-collapses
2026-09-02 20:47:01 -07:00
Teknium
599956c6d4
refactor(agent/shell_hooks): fold single-use wrappers, Popen error table, pre_tool_call dialect table
2026-09-02 20:46:58 -07:00
Teknium
96fb75621b
refactor(agent/anthropic_*,background_review): final density pass — walrus guards, single-line SDK errors, screenshot placeholder hoist, run-token latch folds
2026-09-02 20:45:26 -07:00
Teknium
c14ae92fea
refactor(agent/context_compressor): fold derived-budget cache resets
2026-09-02 20:44:33 -07:00
Teknium
c378c7f632
refactor(agent/relay): shared canonical JSON encoder; ManagedLlmStream startup teardown collapsed to one guard
2026-09-02 20:44:09 -07:00
Teknium
adb241dfc4
Merge simp/r3-06-E into simp/r3-06
2026-09-02 20:40:10 -07:00
Teknium
ce4326c9a8
Merge branch 'simp/r3-04-w3' into simp/r3-04
2026-09-02 20:40:10 -07:00
Teknium
faca680d02
Merge simp/r3-06-A into simp/r3-06
2026-09-02 20:40:09 -07:00