Pu.sh – a full coding-agent harness in 400 lines of shell (pu.dev)
0 points by nnasser
0 points by nnasser
Woww, this is some of the densest shell/awk mix I've ever seen. Writing this in realistically readable/maintainable code would probably be much more than 2k lines. Was it really written like that or some tool used to minify it?
But thanks, that definitely intensifies my thoughts on writing an agent harness in ysh!
It was vibecoded -- but i was forcing the LLM to adhere to a strict LOC limit --- in hindsight not the best prioritization approach.
Got it to un-minify for educational purposes here: https://github.com/NahimNasser/pu/blob/main/pu-unminified.sh (and tested against the regression suite)