누군가 방금 Claude Leark를 TypeScript에서 100% Python으로 변환했습니다.

hackernews | | 📦 오픈소스
#anthropic #claude #leaked code #openai #python #review #rust #typescript
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

클로드 코드 유출 사태 직후, 개발자 시그리드 진은 법적 윤리적 문제를 피하기 위해 기존 코드를 참고해 클린룸 방식으로 코어 기능을 파이썬으로 밑바닥부터 재작성했습니다. 이 작업은 오픈AI의 코덱스 기반 워크플로우 레이어인 oh-my-codex(OmX)를 활용해 엔드투엔드로 orchestrating 되었으며, 이 과정에서 250억 개의 토큰을 사용한 그의 활동은 월스트리트저널을 통해 주목받기도 했습니다. 현재 파이썬 기반의 주요 구현 작업이 완료되었으며, 향후 더 빠르고 메모리 안전성을 갖춘 확정판인 러스트(Rust) 버전 프로젝트도 병합을 앞두고 진행 중입니다.

본문

Better Harness Tools, not merely storing the archive of leaked Claude Code Important Rust port is now in progress on the dev/rust branch and is expected to be merged into main today. The Rust implementation aims to deliver a faster, memory-safe harness runtime. Stay tuned — this will be the definitive version of the project. If you find this work useful, consider sponsoring @instructkr on GitHub to support continued open-source harness engineering research. At 4 AM on March 31, 2026, I woke up to my phone blowing up with notifications. The Claude Code source had been exposed, and the entire dev community was in a frenzy. My girlfriend in Korea was genuinely worried I might face legal action from Anthropic just for having the code on my machine — so I did what any engineer would do under pressure: I sat down, ported the core features to Python from scratch, and pushed it before the sun came up. The whole thing was orchestrated end-to-end using oh-my-codex (OmX) by @bellman_ych — a workflow layer built on top of OpenAI's Codex (@OpenAIDevs). I used $team mode for parallel code review and $ralph mode for persistent execution loops with architect-level verification. The entire porting session — from reading the original harness structure to producing a working Python tree with tests — was driven through OmX orchestration. The result is a clean-room Python rewrite that captures the architectural patterns of Claude Code's agent harness without copying any proprietary source. I'm now actively collaborating with @bellman_ych — the creator of OmX himself — to push this further. The basic Python foundation is already in place and functional, but we're just getting started. Stay tuned — a much more capable version is on the way. I've been deeply interested in harness engineering — studying how agent systems wire tools, orchestrate tasks, and manage runtime context. This isn't a sudden thing. The Wall Street Journal featured my work earlier this month, documenting how I've been one of the most active power users exploring these systems: AI startup worker Sigrid Jin, who attended the Seoul dinner, single-handedly used 25 billion of Claude Code tokens last year. At the time, usage limits were looser, allowing early enthusiasts to reach tens of billions of tokens at a very low cost. Despite his countless hours with Claude Code, Jin isn't faithful to any one AI lab. The tools available have different strengths and weaknesses, he said. Codex is better at reasoning, while Claude Code generates cleaner, more shareable code. Jin flew to San Francisco in February for Claude Code's first birthday party, where attendees waited in line to compare notes with Cherny. The crowd included a practicing cardiologist from Belgium who had built an app to help patients navigate care, and a California lawyer who made a tool for automating building permit approvals using Claude Code. "It was basically like a sharing party," Jin said. "There were lawyers, there were doctors, there were dentists. They did not have software engineering backgrounds." — The Wall Street Journal, March 21, 2026, "The Trillion Dollar Race to Automate Our Entire Lives" The main source tree is now Python-first. src/ contains the active Python porting workspacetests/ verifies the current Python workspace- the exposed snapshot is no longer part of the tracked repository state The current Python workspace is not yet a complete one-to-one replacement for the original system, but the primary implementation surface is now Python. I originally studied the exposed codebase to understand its harness, tool wiring, and agent workflow. After spending more time with the legal and ethical questions—and after reading the essay linked below—I did not want the exposed snapshot itself to remain the main tracked source tree. This repository now focuses on Python porting work instead. . ├── src/ # Python porting workspace │ ├── __init__.py │ ├── commands.py │ ├── main.py │ ├── models.py │ ├── port_manifest.py │ ├── query_engine.py │ ├── task.py │ └── tools.py ├── tests/ # Python verification ├── assets/omx/ # OmX workflow screenshots ├── 2026-03-09-is-legal-the-same-as-legitimate-ai-reimplementation-and-the-erosion-of-copyleft.md └── README.md The new Python src/ tree currently provides: port_manifest.py — summarizes the current Python workspace structuremodels.py — dataclasses for subsystems, modules, and backlog statecommands.py — Python-side command port metadatatools.py — Python-side tool port metadataquery_engine.py — renders a Python porting summary from the active workspacemain.py — a CLI entrypoint for manifest and summary output Render the Python porting summary: python3 -m src.main summary Print the current Python workspace manifest: python3 -m src.main manifest List the current Python modules: python3 -m src.main subsystems --limit 16 Run verification: python3 -m unittest discover -s tests -v Run the parity audit against the local ignored archive (when present): python3 -m src.

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →