OHREN_Lab

Open source오픈소스SelûneSelûne

Selûne lets several coding agents change the same MoonBit repository together, each in its own sandboxed Git working treeSelûne, 여러 코딩 에이전트가 같은 MoonBit 저장소를 함께 고치게 하는 작업 공간 도구

Selûne is a set of MoonBit 1.0 RC1 command-line tools that lets several coding agents change one MoonBit repository at the same time. Each agent works in its own sandboxed Git working-tree cell, a change lands only after moon check, moon test and an integrity gate pass, and it is licensed Apache-2.0.Selûne은 여러 코딩 에이전트가 MoonBit 저장소 하나를 동시에 바꾸게 하는 MoonBit 1.0 RC1 명령줄 도구 묶음입니다. 에이전트마다 격리된 Git 작업 트리에서 일하고, moon check, moon test, 테스트 보호 검사를 통과한 변경만 들어가며, 라이선스는 Apache-2.0입니다.

Checked확인일

Selûne is a set of MoonBit 1.0 RC1 command-line tools that lets several coding agents change one MoonBit repository at the same time. An agent works in a cell, a locked, detached Git working tree, and its commands there run inside Bubblewrap (bwrap), the Linux sandbox. Agents change code through typed edit operations such as Rename and ReplaceBody, and a change lands on the target branch only after it is checked. Git holds the authoritative source, and Selûne builds compiler facts from each revision into a SQLite fact store.Selûne은 여러 코딩 에이전트가 MoonBit 저장소 하나를 동시에 바꾸게 하는 MoonBit 1.0 RC1 명령줄 도구 묶음입니다. 에이전트는 셀이라 부르는, 잠기고 분리된 Git 작업 트리에서 일하고, 그 안의 명령은 Linux 샌드박스인 Bubblewrap(bwrap) 안에서 돕니다. 코드는 Rename, ReplaceBody 같은 정해진 편집 동작으로 바꾸며, 변경은 검사를 거친 뒤에만 목표 브랜치에 들어갑니다. 기준이 되는 소스는 Git이고, Selûne은 리비전마다 컴파일러 사실을 SQLite 저장소에 쌓습니다.

The workflow has three steps: propose, validate and commit. agentic propose builds a candidate tree from the base commit, and agentic validate runs the integrity gate, moon check and moon test. The integrity gate rejects any change to held_out_tests and any hand edit to a verdict in an obligations.mars ledger. When two agents start from the same commit and one lands a rename first, the other agent’s edit is replayed on the new head, rewritten to the new name and validated again. When the edit does not apply or a check fails, the status is conflict or rejected and the branch stays where it was.흐름은 propose, validate, commit 세 단계입니다. agentic propose가 기준 커밋에서 후보 트리를 만들고, agentic validate가 테스트 보호 검사, moon check, moon test를 돌립니다. 보호 검사는 held_out_tests 폴더를 바꾸거나 obligations.mars 장부의 판정을 손으로 고친 변경을 막습니다. 에이전트 둘이 같은 커밋에서 출발해 하나가 먼저 함수 이름을 바꾸면, 뒤의 에이전트 편집은 새 머리 위에서 다시 적용되고 바뀐 이름을 따라 고쳐진 뒤 다시 검사를 받습니다. 편집이 안 맞거나 검사가 실패하면 conflict나 rejected로 끝나고 브랜치는 그대로입니다.

The Staged change workflow diagram from the Selûne README. Five coding agents feed context build, then find, deps and impact queries on MoonBit compiler facts, then propose and validate, where a shield marks the held-out tests, then commit, with a dashed arrow to revert; a bar along the bottom reads Git source: the only authority.
Image: Selûne repository.그림: Selûne 저장소. Apache License 2.0 Open original원본 보기

The quickstart clones the repository, installs the MoonBit 1.0.0-rc1 build pinned in toolchain.lock and checks the tools with ./bin/selune doctor. The agent workflow needs Git 2.38 or later, Node.js 26.13.1, bubblewrap 0.13.1, a C compiler, the SQLite library with its headers, and jq. ./bin/selune hello and ./bin/selune test run the starter and the library tests, and the init command adds agent and MCP configuration to a repository in another language such as Rust.빠른 시작은 저장소를 clone하고 toolchain.lock이 고정한 MoonBit 1.0.0-rc1 빌드를 깐 뒤 ./bin/selune doctor로 도구를 점검하는 순서입니다. 에이전트 작업 흐름에는 Git 2.38 이상, Node.js 26.13.1, bubblewrap 0.13.1, C 컴파일러, 헤더가 있는 SQLite 라이브러리, jq가 필요합니다. ./bin/selune hello와 ./bin/selune test로 예제와 라이브러리 테스트를 돌리고, init 명령으로 Rust 같은 다른 언어 저장소에 에이전트 설정과 MCP 설정을 넣을 수 있습니다.

The commands run on Linux and WSL2. init and the install scripts replace files of the same name without a backup, so the README says to run --dry-run first and commit what you want to keep. The moon prove step runs only when Z3 or CVC5 is present, and without one it is skipped and nothing is proved. The doctor’s strict check fails when moonc, Node.js or bubblewrap differs from its pin. The license is Apache-2.0.명령은 Linux와 WSL2에서 돕니다. init과 설치 스크립트는 같은 이름의 파일을 백업 없이 덮어쓰므로, README는 --dry-run으로 쓸 파일을 먼저 보고 남길 것을 커밋하라고 적었습니다. moon prove 단계는 Z3나 CVC5가 있을 때만 돌고, 없으면 증명 없이 건너뜁니다. doctor의 엄격 검사는 moonc, Node.js, bubblewrap 판이 고정 값과 다르면 실패합니다. 라이선스는 Apache-2.0입니다.

All algoit posts알고IT 글 목록

Follow our AI news onAI 소식 팔로우하기X Instagram Threads