pi-path-guard
Path Guard for pi: 5 switchable protection modes (strict/normal/loose/trusted/naked): block destructive commands, prevent accidental deletes/overwrites, protect.env/keys. Toggle anytime via /guard
What XERJ indexed
Snapshot
The whole repository at commit 72dbf800d2 (2026-10-29). main is 49 commits ahead.
Selected work

“inspect every shell redirect”. 3 files, 251 lines in extensions, tests.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-30. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does pi-path-guard handle “inspect every shell redirect”?
- What does extensions do in pi-path-guard?
The prompt
Paste it into your AI agent. It clones yaodashanren/pi-path-guard at the pinned commit and indexes it on your machine.
Search the GitHub repository yaodashanren/pi-path-guard with XERJ (https://hub.xerj.org/corpus/yaodashanren--pi-path-guard). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/yaodashanren/pi-path-guard pi-path-guard && git -C pi-path-guard checkout 72dbf800d2be946178e6f86b1c34987c2a0ed4d4 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./pi-path-guard --url http://127.0.0.1:9200 --prefix pi-path-guard --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
yaosuAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.