
nomArmy
io.github.rayson-techv0.1.0-beta.2更新於 Oct 10, 2026
Sandboxed coding workers, verified: tests rerun fresh and must fail with the change reverted.
安裝
在 SourceWeft 中
- 開啟 儀表板中的 nomArmy,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[nomArmy]
[CI] [npm] [License: Apache 2.0] [nomArmy: AI worker claims checked on this repository]
Every byte verified. 🍪
nomarmy.dev · Docs · Sponsor
Your coding assistant plans; sandboxed workers build; nothing counts until nomArmy has checked it.
AI coding workers are confident. Their "done, all tests pass" is a claim, not evidence. nomArmy lets your coding assistant (Claude Code, Codex or Cursor) hand work to workers called noms, then checks every change itself before anything is committed: the real diff, your tests run in a fresh sandbox, a check that those tests actually catch the change, and a secret scan.
TL;DR
- Have Git, Node 24.16+ (or 26.1+), Podman, and Claude Code, Codex or Cursor installed and signed in. On macOS, give Podman 8 GiB:
brew install podman && podman machine init --memory 8192 && podman machine start. Windows is supported with the engine in WSL2. Follow the Windows setup. - Install and set up:
nomarmy setupis a playbook. It shows a checklist and runs the next step each time you say yes: Stop anytime;nomarmy setuppicks up where you left off. Want every step spelled out? Example setup: Claude Code, Codex and an API key goes command by command. - Use it: restart Claude Code in the project and ask it to use nomArmy for one small bug that has a test. When that works, try
/feature <what you want built>.
Prefer a plugin? After step 2, Claude Code users can run /plugin marketplace add rayson-tech/nomarmy and /plugin install nomarmy@nomarmy instead of using nomarmy connect; Codex works too (plugins).
Stuck? nomarmy doctor checks the machine and nomarmy health checks everything nomArmy runs on. Upgrading later? nomarmy update.
How every byte gets verified
- Your coding assistant, the General, briefs a job: a task, acceptance criteria, and the tests that prove it.
- nomArmy creates a git worktree from your branch and runs the nom in a Podman sandbox with no network and no host credentials. (One exception, the Claude subscription: see Security posture.)
- The nom edits, runs tests, and ends with a four-line report:
STATUS,TESTS,NOT_DONE,NOTE. - nomArmy treats that report as a claim and checks the evidence itself:
- reads the real diff from git, not the nom's description of it
- runs your verification profile in a fresh sandbox
- reverts the production change and reruns the tests: a test that still passes proves nothing, so the job goes to review instead of being committed
- blocks on secrets, and flags tests made to pass (new skips, stubbed imports) and code nothing calls
- Only then does it commit, on the nom's own branch. It never merges into yours: reviewing and integrating stay with the General, and with you.
Failing verification stays failed, unconditionally. A malformed report isn't automatically a failure: if the repository changed, nomArmy verifies independently and may recover the work. And the checks aren't the General's to waive: a repo's .nomarmy.yml policy (on by default for new repos) makes verification and the revert check mandatory for every job.
Showing what was checked. When a /feature run finishes, the General gets a "Verified by nomArmy" block for the pull request: how many "done, tests pass" claims held up, how many nomArmy caught and why, and the new tests shown to fail without their change. nomarmy stats --share prints the same for any period, and nomarmy stats --badge writes a README badge like nomArmy | 78 claims checked · 11 caught. Every number comes from the verified records.
Checking without building costs nothing: mode: verify runs a verification profile against any branch, with no worker and no model tokens.
Want deeper checks? Three optional validators go further, each only adding review flags: mutation testing (do the tests pin down the changed lines?), Jev (do a scout's citations support its findings, does a report match its diff?, on TypeSafe or a compatible server on your own machine) and a model judge (acceptance criteria, weakened tests).
Where the work runs
- Agents say where a job can run: an API key, your own ChatGPT or Muse Code subscription, or a local model on llama.cpp.
- The army says which role runs on which agent: Sr and Jr devs build, a security analyst and a data architect review, a PM checks the plan, a PO accepts.
/featureruns a whole feature end to end, from plan through build, review and acceptance, and hands you a branch to merge.- Harnesses give each repo the right sandbox: Go, Rust, Python and Node (mixed repos too), Playwright browser tests, and fake services like a mock login server, all offline. Adding one never touches core code.
What you get is work you don't have to take on faith, not cheaper work. Delegating costs the General tokens too, for briefing and review: on small, already-diagnosed tickets we measured 4 to 8 times more of the General's tokens than fixing the bug directly, with break-even around 150 lines of context a fix needs to read (the measurements). It pays off on bigger tickets, parallel work, and anywhere you'd otherwise trust an agent's say-so.
Have a GPU or a Mac with plenty of memory? Choose "a local model" in nomarmy setup: no per-token bill and your code stays home, but you pay in hardware, power and speed. nomarmy sizing tells you what fits. A shared model server works too.
Developed and maintained by Rayson Technologies. This is a beta (0.1.0-beta): settings carry across upgrades (see config compatibility).
Docs
Security
A nom gets a writable git worktree inside a Podman sandbox and nothing else: no network, no host credentials, no Podman socket. Every model call is made by OpenClaw on your machine, never from inside the sandbox. Verification can climb a network ladder one rung at a time (fake services on a private network, then an allowlist you approve for a test tenant), but noms never leave network none. The exception is a Claude subscription, whose tools run on your machine, so nomArmy refuses build jobs on it unless you allow it. Never hand a nom production credentials, deployment access or SSH keys. Details: Security posture; to report a vulnerability, SECURITY.md.
Status
What we've learned from real runs, including where delegating pays and where it doesn't, is in docs/findings.md.
Known limitations
- A Claude subscription isn't sandboxed. Its tools run on your machine, so implement jobs on it are refused unless you set
allow_host_tools: true. See Security posture. - Your own compose services aren't started yet. A verification profile that needs a real database from your compose file (
environment: basicor higher) reportsnot_runrather than running without it (and the compose parser doesn't resolve YAML anchors). Fake services from harnesses, like the mock login server, do run. - Private registries don't cover Poetry or Yarn Berry yet: Poetry can't guarantee a credentialed install runs no package code, and Yarn Berry doesn't read
.npmrc. uv, pip wheels, npm, pnpm, Yarn Classic and bun work. See Private registries. - A model a vendor lists but refuses is caught at dispatch, with a test call. The first job on a model that has never worked for its agent waits a few seconds for a one-token test call; a refusal (gpt-6-sol on a ChatGPT plan) is reported and remembered instead of costing the job. An inconclusive test call (a timeout) lets the job through.
- Claude subscription token counts come from the Claude CLI's own session log, since OpenClaw sees only the final reply; totals include cache reads and writes.
- Test-workaround detection is a flag, not a verdict: a legitimate new skip still gets flagged.
- Deploy-time failures need your own check. See Add a check for what unit tests can't see.
- Same-host sandboxes: the MCP server, OpenClaw and every job's sandbox run on the machine with the coordinator. Only the model can be elsewhere.
More
- docs/findings.md: what real runs taught us.
- docs/experiments: the measured write-ups behind them.
- policies: how scouts and reviewers are held to account.
- CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md.
Configuration variables are NOMARMY_*; a legacy RAYSON_* variable is translated once at load, with a deprecation warning.
Licensed under Apache 2.0.
來源:README.md,提交 d8cb0d8
工具
0版本歷史
1- v0.1.0-beta.2最新Oct 10, 2026
