AI UNDERDOGSDAILY PICK
AI UNDERDOGS
管住你的 AI 代理
Leash your AI agent
anma-labs/anma
AI 编码代理越来越强
但你敢让它随便碰你的 repo 吗?
ANMA 用一份 YAML 文件
把'AI 不能碰什么'变成可执行的合约
AI coding agents are getting scary-powerful — but
would you trust one not to touch your
prod configs?
ANMA writes that boundary down in a single
YAML file
一份 YAML 三道防线
One YAML. Three fences.
你写一份 YAML 声明边界
ANMA 编译出三样东西:CLAUDE.md 让 agent 读到限制
git hook 提交时拦截
CI 检查 PR 里兜底
不是又一个 linter——是把脑子里的'别碰'搬进 repo
You write one YAML boundary declaration. ANMA compiles
it into three things: a CLAUDE.md the agent
actually reads, git hooks that block violations at
commit time, and CI checks that catch them
in PRs. Not another linter — it moves
'what the AI shouldn't touch' out of your
head and into the repo
★ SIGNAL 1
边界不靠记忆
Boundaries, not vibes
ANMA 不只是把 YAML 转成 markdown
它支持排除模式、路径级精细控制
三层执行各自独立——agent 不读 CLAUDE.md?
git hook 兜底
hook 被跳过?
CI 拦住
每一层都是真正的防线
ANMA doesn't just convert YAML to markdown and
call it done. It supports exclude patterns, path-level
granularity, and three independent enforcement layers — agent
ignores CLAUDE.md?
Git hooks catch it. Hooks get bypassed?
CI stops it in the PR. Each layer
is a real fence
★ SIGNAL 2
132 次提交
132 commits. Real project.
看 commit 记录就知道不是周末项目:132 次提交
4 个活跃分支
dogfood CI action
测试框架
排除模式的 hotfix 都有
作者 HN 标题用了 boundary contracts——他在定义品类
不是丢脚本
One look at the commit history tells you
this isn't a weekend project. 132 commits, 4
active branches, a dogfood CI action, test harness
hotfixes for edge cases like exclude-pattern honoring. The
HN title says 'boundary contracts' — he's defining
a category, not shipping a throwaway script
作者 Show HN 原话:「boundary contracts for cheaper AI coding agents」
关键词是 cheaper——有了明确边界
你才敢用更快更便宜的模型写代码
不用担心它搞崩生产环境
The author's Show HN title says it all
'boundary contracts for cheaper AI coding agents.' The
keyword is cheaper — with clear boundaries, you
can actually trust faster, cheaper models to write
code without nuking your prod. That's the real
bet
AI UNDERDOGS
GitHub 开源 · Show HN
Open source on GitHub · Show HN
anma-labs/anma
关注 · 每天发现更多 AI 神作
github.com/anma-labs/anma