Widen `allowed-tools` and dedup `settings.local`
Expand `run-tests` skill `allowed-tools` to cover the documented pre-flight workflow: `git rev-parse` for worktree detection, `python --version`, and `UV_PROJECT_ENVIRONMENT=py* uv sync` for venv setup. Also dedup `gh api`/`gh pr` entries in `settings.local.json` and widen `py313` → `py*` so non-3.13 setups aren't blocked. Review: PR #440 (copilot-pull-request-reviewer) https://github.com/goodboy/tractor/pull/440 (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-codesubint_spawner_backend
parent
a0607f363e
commit
6b04650187
|
|
@ -9,6 +9,7 @@
|
||||||
"Bash(git remote:*)",
|
"Bash(git remote:*)",
|
||||||
"Bash(git stash:*)",
|
"Bash(git stash:*)",
|
||||||
"Bash(git mv:*)",
|
"Bash(git mv:*)",
|
||||||
|
"Bash(git rev-parse:*)",
|
||||||
"Bash(test:*)",
|
"Bash(test:*)",
|
||||||
"Bash(ls:*)",
|
"Bash(ls:*)",
|
||||||
"Bash(grep:*)",
|
"Bash(grep:*)",
|
||||||
|
|
@ -18,15 +19,13 @@
|
||||||
"Bash(mkdir:*)",
|
"Bash(mkdir:*)",
|
||||||
"Bash(gh pr:*)",
|
"Bash(gh pr:*)",
|
||||||
"Bash(gh api:*)",
|
"Bash(gh api:*)",
|
||||||
"Bash(UV_PROJECT_ENVIRONMENT=py313 uv sync:*)",
|
"Bash(gh issue:*)",
|
||||||
"Bash(UV_PROJECT_ENVIRONMENT=py313 uv run:*)",
|
"Bash(UV_PROJECT_ENVIRONMENT=py* uv sync:*)",
|
||||||
|
"Bash(UV_PROJECT_ENVIRONMENT=py* uv run:*)",
|
||||||
|
"Bash(echo EXIT:$?:*)",
|
||||||
"Write(.claude/*commit_msg*)",
|
"Write(.claude/*commit_msg*)",
|
||||||
"Write(.claude/git_commit_msg_LATEST.md)",
|
"Write(.claude/git_commit_msg_LATEST.md)",
|
||||||
"Skill(run-tests)",
|
"Skill(run-tests)",
|
||||||
"Bash(echo EXIT:$?:*)",
|
|
||||||
"Bash(gh api:*)",
|
|
||||||
"Bash(gh pr:*)",
|
|
||||||
"Bash(gh issue:*)",
|
|
||||||
"Skill(close-wkt)",
|
"Skill(close-wkt)",
|
||||||
"Skill(open-wkt)"
|
"Skill(open-wkt)"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@ argument-hint: "[test-path-or-pattern] [--opts]"
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash(python -m pytest *)
|
- Bash(python -m pytest *)
|
||||||
- Bash(python -c *)
|
- Bash(python -c *)
|
||||||
|
- Bash(python --version *)
|
||||||
|
- Bash(git rev-parse *)
|
||||||
|
- Bash(UV_PROJECT_ENVIRONMENT=py* uv sync *)
|
||||||
- Bash(ls *)
|
- Bash(ls *)
|
||||||
- Bash(cat *)
|
- Bash(cat *)
|
||||||
- Read
|
- Read
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue