Teknium
e83816a4d1
review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
...
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
2026-09-03 09:44:26 -07:00
Teknium
f2fceda404
refactor(agent/E_session): final code compaction — inline single-use predicates, tail() keyword helper, dict literals, elif chains
2026-09-02 23:08:45 -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
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
26e5492f22
refactor(agent/session_persistence): tail predicates, comprehension redaction, single-copy log entry
2026-09-02 19:45:32 -07:00
Teknium
4e2a701790
refactor(agent/session_persistence): collapse nested if (SIM102)
2026-09-02 19:24:12 -07:00
Teknium
7be356b782
refactor(agent/session_persistence): _session_log_entry as module function (AIAgent dir() parity)
2026-09-02 19:16:17 -07:00
Teknium
59dfa83260
refactor(agent/E_session): compact docstrings/comments by hand, keep every WHY
2026-09-02 19:13:00 -07:00
Teknium
c47195762e
refactor(agent/session_persistence): tighten seed/scan/row helpers, hoist transcript_repair import
2026-09-02 19:03:31 -07:00
Teknium
649c34dcb3
refactor(agent/session_persistence): flush phase helpers as module functions (duck-typed agent compatible)
2026-09-02 19:00:50 -07:00
Teknium
3780201f3e
refactor(agent/E_session): AST-identical hugging pass 2
2026-09-02 18:48:22 -07:00
Teknium
41ed65b67a
refactor(agent/session_persistence): extract _session_log_entry, table reasoning row keys (key order preserved)
2026-09-02 18:36:38 -07:00
Teknium
9df1065ae5
refactor(agent/subagent_lifecycle,session_persistence): dataclass registry, shared session-id helper, nullcontext lock
2026-09-02 18:26:28 -07:00
Teknium
0fdadbe255
refactor(agent/session_persistence): split 292-LOC flush into phase helpers; unify override/durable-content logic
2026-09-02 18:17:38 -07:00
Teknium
45e88aff38
refactor(run_agent): re-wrap comment blocks left with dangling fragments
2026-09-02 13:29:40 -07:00
Teknium
1e778ae7c6
refactor(run_agent): re-wrap compacted docstrings, restore lost issue-ref rationale
2026-09-02 13:29:40 -07:00
Teknium
e564e60a3d
refactor(run_agent): extract SessionPersistenceMixin (agent/session_persistence.py); _DB_PERSISTED_MARKER sourced from context_compressor
2026-09-02 13:29:40 -07:00