chore(pi): require reviewed typed tools #205
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review!205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pi-safe-tools-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
safe_commitandsafe_pushPi tools for explicit-path commits and validated Forgejo branch pushesbashexecution by default so new executable capabilities must be added or modified as typed Pi tools under RGR/tests/reviewBranch hygiene
origin/mainbefore preparing the branchpi-safe-tools-reviewfromorigin/main(573cefc)origin/main:f687c3f chore(pi): require reviewed typed toolsVerification
node tests/release_tooling/pi_guardrails_contract_test.mjsgit diff --checkGIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=commit.gpgSign GIT_CONFIG_VALUE_0=false tests/release_tooling/release_script_flake_test.sh test_pi_guardrails_route_git_commit_and_push_through_safe_toolsGIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=commit.gpgSign GIT_CONFIG_VALUE_0=false tests/release_tooling/release_script_flake_test.sh test_pi_guardrails_deny_bash_and_route_capabilities_through_reviewed_toolsnix flake checksuccessfully while creatingf687c3fThis PR introduces new Pi tools for safe Git operations and enforces stricter execution policies by denying direct bash execution. The changes appear well-structured and include comprehensive tests, but the shift to deny bash by default requires careful validation to ensure no essential operations are blocked.
Walkthrough
safe_commitandsafe_push.@ -599,0 +617,4 @@pi.registerTool({name: "safe_commit",label: "Safe Commit",description:🟡 Warning: Lines 620–759: The change to block direct bash execution by default is significant. Ensure that all necessary capabilities are covered by typed Pi tools to avoid disrupting workflows.
🟡 Warning: The change to deny all bash execution by default in the permission system is a major shift. Verify that this does not inadvertently block necessary operations that have not yet been converted to typed Pi tools.