Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
open-coder-ai
/
chock
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
8
Code
Issues
14
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Portable agent hooks: one committed launcher, and gates that refuse when they cannot judge
- #172
#172
Merged
jothimani-rajendran
merged 28 commits into
main
open-coder-ai/chock:main
from
fix/portable-hooks
open-coder-ai/chock:fix/portable-hooks
Copy head branch name to clipboard
Sep 27, 2026
Conversation
Commits
28
(28)
Checks
Files changed
Merged
Portable agent hooks: one committed launcher, and gates that refuse when they cannot judge
#172
jothimani-rajendran
merged 28 commits into
main
open-coder-ai/chock:main
from
fix/portable-hooks
open-coder-ai/chock:fix/portable-hooks
Copy head branch name to clipboard
Commits
Commits on Sep 27, 2026
Judge a pre-tool write by its repository-relative path
Show description for 6656cad
claude
committed
6656cad
View commit details
Copy full SHA for 6656cad
Browse repository at this point
Run guards under Git's bash, and ask when none could run
Show description for 611f369
claude
committed
611f369
View commit details
Copy full SHA for 611f369
Browse repository at this point
Refuse when the gate or guard a hook names is missing
Show description for eb6f44d
claude
committed
eb6f44d
View commit details
Copy full SHA for eb6f44d
Browse repository at this point
Never judge a gate's own policy folder or the generated tree
Show description for 3b12fb6
claude
committed
3b12fb6
View commit details
Copy full SHA for 3b12fb6
Browse repository at this point
Decode gate subprocess output as UTF-8 on every console
Show description for 291f653
claude
committed
291f653
View commit details
Copy full SHA for 291f653
Browse repository at this point
Probe PowerShell hook interpreters without terminating on a miss
Show description for e83229f
claude
committed
e83229f
View commit details
Copy full SHA for e83229f
Browse repository at this point
Parse each YAML text and extract each bundled module once
Show description for 27a87b7
claude
committed
27a87b7
View commit details
Copy full SHA for 27a87b7
Browse repository at this point
Run every agent hook through a committed launcher, not a baked interpreter
Show description for f8c8652
claude
committed
f8c8652
View commit details
Copy full SHA for f8c8652
Browse repository at this point
Lint the launcher change: import spacing, line length, S603 reason
Show description for 70ff1af
claude
committed
70ff1af
View commit details
Copy full SHA for 70ff1af
Browse repository at this point
Regenerate chock's own hook wiring and emitter goldens in the launcher form
Show description for 42b266e
claude
committed
42b266e
View commit details
Copy full SHA for 42b266e
Browse repository at this point
Test the launcher hook contract instead of the baked interpreter
Show description for 330c9c3
claude
committed
330c9c3
View commit details
Copy full SHA for 330c9c3
Browse repository at this point
Report a missing or ignored hook launcher as a dangling target
Show description for 9e54596
claude
committed
9e54596
View commit details
Copy full SHA for 9e54596
Browse repository at this point
Document the launcher hook form and Cursor's failClosed entries
Show description for ca1112e
claude
committed
ca1112e
View commit details
Copy full SHA for ca1112e
Browse repository at this point
Hoist chock's runtime imports after `import sys`, however agentseam orders its block
Show description for b4b9e06
claude
committed
b4b9e06
View commit details
Copy full SHA for b4b9e06
Browse repository at this point
Fail sync when an agent's hooks could not be wired
Show description for 8ebfd9e
claude
committed
8ebfd9e
View commit details
Copy full SHA for 8ebfd9e
Browse repository at this point
Merge branch 'fix/gate-hardening' into fix/portable-hooks
Show description for e0c0717
claude
committed
e0c0717
View commit details
Copy full SHA for e0c0717
Browse repository at this point
Exempt only sync's generated tree from gates, not the adopter's own .chock files
Show description for 3482083
claude
committed
3482083
View commit details
Copy full SHA for 3482083
Browse repository at this point
Install the write gate for every vendor that records a write vocabulary
Show description for 43ae2bc
claude
committed
43ae2bc
View commit details
Copy full SHA for 43ae2bc
Browse repository at this point
Tell the user when a wired agent will skip the hooks until trusted
Show description for 5f2fe44
claude
committed
5f2fe44
View commit details
Copy full SHA for 5f2fe44
Browse repository at this point
Merge remote-tracking branch 'origin/main' into fix/portable-hooks
Show description for 6b27bd1
claude
committed
6b27bd1
View commit details
Copy full SHA for 6b27bd1
Browse repository at this point
Record this branch's changes under Unreleased, not the shipped 0.11.4
Show description for 8a2cc1e
claude
committed
8a2cc1e
View commit details
Copy full SHA for 8a2cc1e
Browse repository at this point
Merge origin/main into fix/portable-hooks
Show description for fc49d31
claude
committed
fc49d31
View commit details
Copy full SHA for fc49d31
Browse repository at this point
Run the launcher hook command under every shell an agent uses
Show description for fbefa30
claude
committed
fbefa30
View commit details
Copy full SHA for fbefa30
Browse repository at this point
Exempt a gate from its own policy's folders only, not the generated tree
Show description for f9e057e
claude
committed
f9e057e
View commit details
Copy full SHA for f9e057e
Browse repository at this point
Judge a pre-tool write under its resolved path as well as the one named
Show description for edb436a
claude
committed
edb436a
View commit details
Copy full SHA for edb436a
Browse repository at this point
Send the Cursor plugin test's payload as UTF-8 on Windows
Show description for bddd915
claude
committed
bddd915
View commit details
Copy full SHA for bddd915
Browse repository at this point
Make the launcher refuse whenever it cannot start a verdict
Show description for 8970f94
claude
committed
8970f94
View commit details
Copy full SHA for 8970f94
Browse repository at this point
Say a gate is missing without echoing its path to stderr
Show description for 735a4cf
claude
committed
735a4cf
View commit details
Copy full SHA for 735a4cf
Browse repository at this point
You can’t perform that action at this time.