refactor(agent/turn_context): per-turn reset as a data table, _str_attr route reads, compact TurnContext field docs

This commit is contained in:
Teknium
2026-09-02 18:35:16 -07:00
parent e7d4b2123e
commit d61bafcbd1
2 changed files with 60 additions and 75 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ class CompactionOutcome:
blocked: bool = False
# ── Helpers shared by every compression-attempt site ──────────────────────────
# ── Helpers shared by every compression-attempt site ──
def _clear_overflow_warn(agent: Any) -> None:
@@ -100,7 +100,7 @@ def _reanchor(agent: Any, messages: List[Any], user_message: Any) -> int:
return idx
# ── Turn-start passes ─────────────────────────────────────────────────────────
# ── Turn-start passes ──
def run_turn_start_compaction(