r/PiCodingAgent • • Sep 17 '26

Resource al-jaffee - simple cache-preserving fold-in compaction for pi agents

I've been working on a longer-term project and I have a lot of little side tangents and investigations as I work that I don't want the full context to get polluted by. I wrote a little pi plugin that lets agents create markers, then work on a task with their full context. When they're done, they can fold-in their full context to a summary, compacting the work in place.

It's less manual than forking the session and a little less to keep track of than subagents. I thought it was worth sharing. MIT license, 1k lines of code. Cost was maybe a dime worth of GLM 5.3 Flash.

https://github.com/gopherbone/al-jaffee

14 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/porkyminch Sep 17 '26

Definitely. Lot of translations and decomps/recomps. It’s not uncontroversial, though. 

1

u/Equivalent_Idea8839 Sep 17 '26

It’s not uncontroversial, though.

why? cuz before only the smartest dudes could fuck with writing emulators / rom hacks? and now anyone can?

1

u/porkyminch Sep 17 '26

There’s a lot of low quality projects and people against AI for one reason or another. People have strong opinions about how video games should be presented as art, and I get it. People want to do the developers justice and machine translations can be shitty and miss nuance. 

I picked the game I did for a couple reasons:

  1. Vast Fame is a truly great game developer that is woefully underappreciated in English gaming spaces. I figure if I can make a great game like this playable for English speakers, maybe it’ll help to get people to appreciate that unlicensed developers could make incredible video games without stealing IP. 
  2. Vast Fame’s few officially sanctioned English releases were buggy, poorly translated messes that were likely MTL’d with rudimentary translation tech from the late 90s and early 00s. They are completely unintelligible and only exist for their earliest games. At worst, I’m going to give them a BETTER treatment than their official localizers. Or at least I’m going to try. 

I’ve been experimenting a lot overall with different approaches to using AI to preserve truly obscure games and make them more easily accessible, and this is one of those experiments for me.