Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

gate.py

AI overview

Sign in and the AI will write an overview from our coverage.

Headlines · 1

  1. A PreToolUse Hook Protects Claude Code Governance Files

    A Juejin author published a roughly 120-line, dependency-free gate.py for Claude Code that rejects tool calls targeting AGENTS.md, .claude/gates, .claude/hooks, .claude/settings.json, and related governance files. The hook normalizes paths, resolves symlinks, checks common write commands, fails closed on errors, and includes eight tests covering blocked and permitted paths. The author cautions that it cannot provide absolute isolation against an agent with shell access.

    掘金 · 人工智能 · 🔥 0

Experience and discussion from the community

Share my gate.py experienceAsk about gate.py

Nobody has shared their experience with gate.py yet.