Remix.run Logo
▲ alfiedotwtf a day ago

Pi is awesome until compaction hits. I think one in every two compactions it’s failed on me ie didn’t know how to continue :(

▲pseudony a day ago | parent | next [-]

Something is misconfigured on your end. I have had some trouble where parameters were incorrect, but otherwise I have used several vendors (local, openrouter, ollama cloud, kimi, deep seek) and it generally works.

Most likely context length parameters aren’t set quite right for your model/provider and you genuinely run out of context during compaction

▲esalman a day ago | parent | prev | next [-]

I never really rely on compaction. Instead, I instruct the coding agents to maintain a handoff markdown document across sessions. Ymmv.

▲alfiedotwtf a day ago | parent [-]

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?

▲pseudony a day ago | parent [-]

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 :)

▲esalman a day ago | parent | next [-]

I do something similar to this, but manually. I just ask Opus to break the implementation into phases, after each phase is complete it'll update the handoff document, and I'll review the work before starting the next phase in a new session.

I actually started using Opus 5.5 2-3 weeks ago and I'm still having to adapt my workflow around it.

▲machomaster a day ago | parent | prev | next [-]

Please share with me.

▲pseudony a day ago | parent [-]

https://github.com/jwdevantier/ralphish :)

▲alfiedotwtf a day ago | parent | prev [-]

Hehe yes please. I’m not sure how it will go mixing it with Superpowers, but your workflow sounds really useful. I like that it can recover from zero.. especially when I overclock ram and then hangs

▲pseudony a day ago | parent [-]

Hey, replying so it's easy for you to follow up on.

https://github.com/jwdevantier/ralphish

:)

Remember, I didn't write a word of it - so if anything is not to your liking, it's no harder than pointing a model at it to fix it. One of the many powers of Pi is the way plugin- and API documentation is bundled in.

▲alfiedotwtf a day ago | parent [-]

Nice. Thanks for the link :)

▲julianlam a day ago | parent | prev [-]

Try pi-vcc or pi-blackhole

▲alfiedotwtf a day ago | parent | next [-]

Yes.. pi-vcc does what no other compaction extension has managed to do - work!

Thank you!!

▲alfiedotwtf a day ago | parent | prev [-]

Thanks! I’ve taken a look at Blackhole before but it looks way to complicated for what I wanted. I’ll check out VCC. Thanks again!