chore: fix root_dir resolution/stale scripts during PR review

This commit is contained in:
Gustavo Madeira Santana
2026-02-13 15:09:37 -05:00
parent 6442512954
commit 42eaee8b7e
6 changed files with 53 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ Merge a prepared PR only after deterministic validation.
- Never use `gh pr merge --auto` in this flow.
- Never run `git push` directly.
- Require `--match-head-commit` during merge.
- Wrapper commands are cwd-agnostic; you can run them from repo root or inside the PR worktree.
## Execution Contract

View File

@@ -18,6 +18,7 @@ Perform a read-only review and produce both human and machine-readable outputs.
- Never push, merge, or modify code intended to keep.
- Work only in `.worktrees/pr-<PR>`.
- Wrapper commands are cwd-agnostic; you can run them from repo root or inside the PR worktree.
## Execution Contract