[分享创造] Railse:一个人同时开几个 AI 编程 agent,审批推到手机上点一下
最近几个月我一直同时开着 Claude Code 、Codex 和 Gemini CLI 写代码。agent 本身跑得挺好,烦的是它每次要跑命令、改文件都停下来等我按「允许」。三个终端轮流翻,经常翻到的时候它已经等了十分钟;出去吃个饭,回来每个都停在第一条 git push 上。开 yolo 全放行又不敢,一句 rm -rf 出去就没有后悔药。 所以我写了 Railse:每条审批先过一遍规则,规则定不了的推到手机,我在手机上点一下,agent 接着跑。 它怎么做: 三家 CLI 的权限钩子都接到本机一个守护进程,规则只写一套。 每条请求先定风险档:只读和改项目里的文件直接放行; curl 、npm install 这类联网的,git push 、deploy 这类对外的,rm -rf 、git reset --hard 这类不可逆的,都问。 定不了的推到手机,Web Push 通知,点开批准或拒绝。批准时勾「记住」,当场存成规则,下次同类的不问。 对外和不可逆的永远不能被「记住」放行,只能自己手写规则。 Railse 自己挂了不卡 agent:守护进程没起、hub 连不上超过 30 秒
Read original sourceSource record
Research analysis
What changed
Source account: 最近几个月我一直同时开着 Claude Code 、Codex 和 Gemini CLI 写代码。agent 本身跑得挺好,烦的是它每次要跑命令、改文件都停下来等我按「允许」。三个终端轮流翻,经常翻到的时候它已经等了十分钟;出去吃个饭,回来每个都停在第一条 git push 上。开 yolo 全放行又不敢,一句 rm -rf 出去就没有后悔药。 所以我写了 Railse:每条审批先过一遍规则,规则定不了的推到手机,我在手机上点一下,agent 接着跑。 它怎么做: 三家 CLI 的权限钩子都接到本机一个守护进程,规则只写一套。 每条请求先定风险档:只读和改项目里的文件直接放行; curl 、npm install 这类联网的,git push 、deploy 这类对外的,rm -rf 、git reset --hard 这类不可逆的,都问。 定不了的推到手机,Web Push 通知,点开批准或拒绝。批准时勾「记住」,当场存成规则,下次同类的不问。 对外和不可逆的永远不能被「记住」放行,只能自己手写规则。 Railse 自己挂了不卡 agent:守护进程没起、hub 连不上超过 30 秒
Version & cost evidence
Recent records to compare: “Show HN: A Modern Agentic LaTeX Editor” (Hacker News, Nov 5, 2026); “Show HN: Northmeadow – encrypted shared memory for local AI agents and people” (Hacker News, Nov 5, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.
Who is affected
Identify the existing workflow this change affects before recommending an upgrade. Launch attention does not establish improvement; an API, pricing or availability change may instead create migration work.
Missing comparison points
Missing checks: old versus new behavior, affected plans and regions, availability date, compatibility, rollback path and cost under the same workload.
Migration check
Save the release or policy notice, run the same task on the old and new option, and compare outputs and the full bill. For retirement notices, verify the deadline before scheduling migration.