logoalt Hacker News

ngruhnyesterday at 6:36 AM2 repliesview on HN

oh-my-pi has pretty poor permission system in my experience. Either yolo or deny/approve everything. No classifier, no sandbox.


Replies

Vax-yesterday at 9:46 AM

Everything you want to add can be made as an extension, and pi has many ready extension to be added. For example, Sandbox: `https://github.com/earendil-works/gondolin` The sandbox extension is at https://github.com/earendil-works/pi/tree/main/packages/codi... And the extension at `https://github.com/earendil-works/pi/tree/main/packages/codi...` Which can also be found under `/@earendil-works/pi-coding-agent/examples/extensions/gondolin` at the npm modules

In case of omp, not sure if it's already at the node module package but you can just grab it from the links I shared and set it up.

show 1 reply
zdragnaryesterday at 11:48 AM

My workflow is generally like so:

- instruct model to write a markdown file with a phased plan to implement whatever feature or change I want

- start a new context, instruct model to implement one phase of the file

- review changes manually, then start a new context and have it do the next phase

- repeat as needed

I've never seen omp touch a file outside of the directory I start it up in, and the few times where I've been unhappy with a change git has been there to revert.

This could easily be a case of survivor bias but I've not had an issue with letting it go yolo yet.

show 1 reply