创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Global Law 用 Git 管理立法版本

AI 总结

SnooPeripherals5313 创建了 Global Law,这是一个 GitHub 仓库,将立法组织为语义化、带版本、可归因且可供智能体查询的数据。创建者以 CC0 许可发布法律信息,并称项目利用 Git 历史展示法律随时间的变化。他们表示,项目为每个国家或国家组分别运行 Claude Code 会话,从官方发布方下载可用的法律版本,并按生效日期写入提交。当来源只公布修订法案时,脚本会依次应用修订内容,重建早期版本。创建者还称,运行于 Claude Opus 5.5 的 Claude Code 编写了几乎全部代码,而他们负责设定目标、选择来源并作出设计决策。

深度见解

Global Law 为智能体提供了一种结构化、可追溯且带版本信息的法律信息访问方式,并通过 Git 保留变更记录。其工作流程还展示了如何让不同的 Claude Code 会话执行大规模、针对特定来源的数据获取与转换任务。

This hit #1 on HN yesterday (you can read lots of discussion at https://news.ycombinator.com/item?id=50268380). Why would I want to do this? The idea is make all law semantic, versioned, easily attributable and query able by agents. I also believe this information should be freely available so CC0 license (do whatever you want with it). If interested, repo linked below, I'd welcome all comments and advice. Thanks! https://github.com/lexifina/global-law I built this project with Claude Code. It's completely free to use/try. The approach is pretty simple: use claude to make legislation attributable (git blame, versioning with timelines). Claude Code (Claude Opus 5.5) wrote nearly all the code. I set the goals, chose the sources and made the design decisions. Specifically: I ran separate Claude Code sessions, one per country or group of countries. Each one read the official publisher's site or API, checked robots.txt and the terms of use, and wrote a script that downloads every version of each law. The script then writes them out as a git history, one commit per change on its in-force date. When a source only publishes amending Acts, the script rebuilds past versions by applying each amendment in turn. The sessions shared findings with each other, such as dates before 1970, daylight-saving edge cases and other changes. I also worked on how the countries combine into one tree, with each country as a git submodule and all their histories interleaved by in-force date. Claude wrote the build script to ensure two independent builds come out hash-for-hash identical (usually i'd consider this overkill, but you want a good VCS for this). submitted by /u/SnooPeripherals5313 [link] [comments]

#Global Law#Claude Code#Claude Opus 5.5#Git#GitHub

原文约 1 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。