automatically compacting context codex