microsoft / microsoft/ShadowFrog
[Windows port] 6/8: Convert the hook scripts to Python
@wmaciel is already working on this.
Since Aug 8, 2026.
- Dominant language
- Python
- Stars
- 25
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Part of #7. Phase 6 of 8.
Replace the two bash hook scripts with Python bodies and switch the hook templates to an OS-aware launcher (the runner selects bash or powershell per OS), so the hooks no longer hard-depend on bash. The bash fail-open machinery is retired in favor of a simple Python guard.
Changes: add Python check-init and pre-tool hooks, update the Copilot and Claude hook templates, port the hook tests, remove the bash hooks and the bash-specific lint.
Acceptance: hook tests pass on both OSes; a failing hook never blocks a tool call.
Depends on: Phase 5.
Drafted with Copilot 🤖
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.