logoalt Hacker News

alfiedotwtf • yesterday at 7:16 AM • 1 reply • view on HN

What about if you’ve given a plan that will take hours? How do you tell how to auto-compact since it can’t read its own environment?


Replies

pseudony • yesterday at 9:06 AM

Cannot show now because Github times out for me, again.

I had pi write me a ralph loop plugin. You plan with it, it breaks it down into tasks. Task success means clearing the context - if it runs out of context, it clears and starts on the same task again (code changes from previous run are left intact).

Complete with little docker-like names for Ralph sessions and the ability to resume sessions should you need to.

Point is, I would generally do this because it costs less context I think, and better tracks progress.

Ping me if you are interested and want it. Otherwise, plenty around :)

➕ show 2 replies