Nice idea to write protocol while the model has the full turn in view instead of summarizing it after the fact. got two questions. 1- how often does the model forgot the protocl block on non Qwen models? 3- have you compared how well the summary preserves details against Pi's default compaction ?
1. I tested with qwen flash next 3.8 so far. Just a short part of a long session was with kimi k3. Qwen got 176 of 181 turns right and I've added an option, where the model uses an extra turn to write protocols. this maybe helpful with models that get confused with the extra workload. This is done in a manner that preserves the kv-cache advantage. 2. I don't have any numbers for that, but with standard compaction pi's output was getting worse after a few compactions. Back then I instructed the model to write a state of work md and started reading it in a new chat. So basically the automation of that process is what I started with, when developing it. I've added a recall feature to test if the model remembers old turns. But I've not done proper benchmarks with it.