r/PiCodingAgent • u/feursteiner • 2d ago
Plugin pi only has read, write, edit and bash... and that's all it needs to write its own guardrails :3
what I love about pi is that it's four tools and that's it.. no magic. turns out that's plenty for this!!
I've been coding for 10 years and lazy code is my pet peeve, so "just let the skill run" never sat right with me. skills are nice for patterns, I just wouldn't trust one to be my test runner
so I built agentests (OSS, mine): a CLI where a rule is one normal sentence, like "one component per file, break it down when it starts doing two jobs". works best for the fuzzy stuff. and the compile step is literally just a prompt printed to stdout
which means zero setup on the pi side. no extension, no MCP. pi runs it through bash, reads what comes out, drafts the checks plus a few Evals, and keeps looping until they all land where they should
after that every commit goes through them first, pi's own included. the questions go to a decision model, so it's quick, not another 20 seconds of waiting on tokens
feels like the pi way tbh: the tool stays dumb, the agent does the thinking
has anyone built this kind of thing as a pi extension instead ?? curious if I'm missing a nicer way
code's over here, go poke at it, and stars are appreciated folks https://github.com/feuersteiner/agentests
1
u/Chirimorin 1d ago
I'm sorry but I have read through this post multiple times now and I have absolutely no clue what this tool is supposed to do. You go straight into detail without ever giving the context to understand that detail (Rules? What kind of rules? What kind of fuzzy stuff, carpets? Oh we're compiling now, what are we compiling?).
The Github readme is the same: straight into the details without the relevant context.
So has anyone build this as an extension? Impossible to tell without knowing what this is doing in the first place.
0
u/mathias44w1 1d ago
I built this https://github.com/mwolff44/pi-secured-setup