Teknium
45330436a0
Merge branch 'simp/r3-07-E2' into simp/integration3
2026-09-02 22:41:58 -07:00
Teknium
2198087049
Merge branch 'simp/r3-07-C2' into simp/integration3
2026-09-02 22:41:56 -07:00
Teknium
f5a5ea2f0a
Merge branch 'simp/r3-04-p2' into simp/integration3
2026-09-02 22:41:51 -07:00
Teknium
85ec7ede7e
Merge branch 'simp/r3-04-p1' into simp/integration3
2026-09-02 22:41:50 -07:00
Teknium
ad46b3a812
Merge branch 'simp/r3-03' into simp/integration3
2026-09-02 22:39:25 -07:00
Teknium
45a4672428
refactor(agent/context_compressor): split _build_summary_prompt into template/temporal helpers (prompt text byte-identical)
2026-09-02 22:35:45 -07:00
Teknium
9b669ca507
refactor(agent/relay): _ManagedAttempt error-recording ctx manager; managed_callback_guard as contextmanager; plugin cleanup steps table; close_session via _operation; anthropic normalize predicates collapsed
2026-09-02 22:35:41 -07:00
Teknium
29aa1bdf3d
refactor(agent/context_compressor): share micro-cursor reset, breaker predicate, real-usage verdict; collapse session-state boilerplate
2026-09-02 22:34:33 -07:00
Teknium
10c023101c
refactor(agent/chat_completion_helpers): AST-identical repack of wrapped calls/collections (3947 -> 3773 LOC)
2026-09-02 22:28:13 -07:00
Teknium
081484e259
refactor(agent/context_compressor): unify tool-call field access, JSON-arg parsing, content rewrite; compact module helpers
2026-09-02 22:27:25 -07:00
Teknium
63f1950b4f
refactor(agent/E_session): by-hand docstring/comment compaction across 9 files; transcript_repair row lookup helper; activity snapshot literal
2026-09-02 22:23:45 -07:00
Teknium
763cee5c20
refactor(agent/relay_runtime): _Lazy singleton for executor/segments config; _fail_open decorator replaces *_unguarded pairs; dead context reset dropped
2026-09-02 22:22:18 -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