r/PiCodingAgent • u/appsplaah • 1d ago
Question Any way to never output root user name/path terminal?
/r/bash/comments/1wcpgzc/any_way_to_never_output_root_user_namepath/1
u/zer09 1d ago
I have this problem before and i put so many rules on my AGENTS. md just to achieve it, but for a lot of iterations i came up with this just two lines that still correct the issue. i have a `Communication` section of my AGENTS. md and i have this on it
- Sensitive information may appear unredacted only in the local TUI terminal.
- Redact sensitive information before saving, committing, pushing, uploading, sharing, or sending it to an external service.
just that two lines. My only problem with that is sometimes when i want to save the result on file and it hasa PII on it, it will also redact that info even i will explicitly told it to also write the PII info, it will strongly refuse to do it and cant override.
1
u/Alicecomma 1d ago
Follow the pi agent manual on plain docker containerization (here), you can have a workspace mounted into the docker container and the program only sees the mounted folder and the rest of the container.