logoalt Hacker News

0x696C6961yesterday at 4:01 PM5 repliesview on HN

I wish there was a feature to say "you must re-read X" after each compaction.


Replies

nickreeseyesterday at 4:01 PM

Some people use hooks for that. I just avoid CC and use Codex.

taberiandyesterday at 10:58 PM

Getting the context full to the point of compaction probably means you're already dealing with a severely degraded model, the more effective approach is to work in chunks that don't come close to filling the context window

philipp-gayretyesterday at 6:03 PM

There's no PostCompact hook unfortunately. You could try with PreCompact and giving back a message saying it's super duper important to re-read X, and hope that survives the compacting.

root_axisyesterday at 7:35 PM

What would it even mean to "re-read after a compaction"?

show 1 reply