nomArmy
v0.1.0-beta.25Sandboxed coding workers, verified: tests rerun fresh and must fail with the change reverted.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
local_worker
Run one isolated local worker and wait for it. mode=implement edits in its own worktree and the coordinator commits only on a valid done report (or a recovered job that passed independent verification); failed or incomplete worktrees are retained. mode=scout answers a question from a read-only snapshot with mandatory [path:line] citations that nomArmy verifies and expands. mode=decompose (also read-only) proposes 2+ independent subtasks for a broad objective instead of one worker turn trying to do too much; the proposal is never auto-dispatched, review it and make a separate call with the subt…
local_worker_start
Start one worker or scout in the background and return immediately with a job_id. Poll it with local_worker_status (optionally long-polling with wait_seconds). Same admission rules as local_worker: refuses under memory pressure or when NOMARMY_MAX_WORKERS jobs are already running.
local_worker_status
Status of one job, started by this session or any other (a detached job included): phase (starting, worktree, worker, verification, commit, record, finished), elapsed time against its timeout, and the result once finished. wait_seconds long-polls up to that long for completion (max 110, to stay inside MCP client request timeouts; poll again for longer jobs). report=true returns just the worker's report (a scout's findings with their verified citations), the outcome, issues, verification and commit. full=true returns the complete execution record.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
full | boolean | |
report | boolean | Just the report and nomArmy's verdict on it, without the rest of the record. Prefer this to full. |
wait_seconds | integer |
stats
What nomArmy's own job records show for this repository (or all repositories): jobs by mode, role and model; code committed; worker and job time; tokens and API spend; claim vs evidence (how often a "done, tests pass" report failed independent verification, or passed with tests that couldn't catch the change); what didn't complete; reviewer outcomes; and review flags. Every number comes from nomArmy's verified records, never a worker's report. Defects you find at integration aren't in the records: add your own count. Read-only.
| Parameter | Type | Description |
|---|---|---|
all_repos | boolean | Every repository this machine's nomArmy has run jobs for, not just this one. |
details | boolean | The full report (volume, reviewers, flags, what didn't finish). Default is the one-screen summary: what nomArmy caught, high-stakes work needing review, the top routing tips, spend. |
format | string | text (default) is the report; json is the raw numbers. |
model | string | Only jobs that ran on this model (e.g. grok-4.7). |
repo | string | Another repository, by path or folder name ("senti" matches rayson-senti if unambiguous). |
role | string | Only jobs dispatched as this army role (e.g. sr-dev). |
since | string | Only jobs started since this: a date (2026-09-25) or an age (7d, 24h). Default: all. |
until | string | Only jobs started before this date. |
local_worker_stop
Stop a running job's worker, for example one burning a frontier model's usage on the wrong track. Its worker ends within about 15 seconds, without the report-recovery call a timeout gets and without running verification; its worktree is kept uncommitted, so a new job with continue_from: <job_id> (and a cheaper model if you like) can finish the work. Works for a job started by any session. Refuses a job that isn't running or is already past its worker.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
reason | string | Why it's being stopped; recorded in the job's issues. |
local_worker_capacity
What this host can take right now: context per nom and the brief/report budgets derived from it, memory pressure and whether another job would be admitted, and the jobs currently running. Read-only.
run_start
Start a /feature run (or reattach to one with `resume`): one feature, end to end, with limits. It becomes this session's active run: every job you dispatch from now on joins it automatically (pass run_id only to target a different run). Admission enforces the run's limits -- jobs, api spend in dollars, and hours with at least one job running (time between jobs, such as a wait at a human gate, doesn't count) -- warning at the configured share and refusing at the cap. A vendor usage-limit error pauses that agent for the rest of the run. Limits come from the operator's army run_limits; you may lo…
| Parameter | Type | Description |
|---|---|---|
max_api_usd | number | |
max_hours | number | |
max_jobs | integer | |
name | string | A short name for the feature (required unless resuming). |
resume | string | Reattach this session to an existing, still-running run (e.g. after the previous session hit its own limit) instead of starting a new one. |
run_status
A /feature run's limits, what it has used (jobs, api spend, hours), per-agent jobs/spend/tokens, warnings (80% of a limit, paused agents), and its log path. Read-only.
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
run_finish
Close a /feature run as complete or stopped, with a one-paragraph summary. A closed run admits no more jobs. Nothing is merged: the run's branch still waits for the operator.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
status * | string | |
summary * | string |
army
Who you, the General, are and who you call for what in this repository: your fixed charter and the agent you're defined as, the army's workflow, then each role's description, phase (build, review, acceptance), suggested mode, and the agent it runs on, with which config layer set each value (global, project .nomarmy.yml, local .nomarmy.local.yml). Flags roles with no usable agent, and roles that share your model or subscription (not an independent review). Dispatch a role with `army_role`, or an agent directly with `agent`. Read-only, re-read on every call.
local_worker_config
What this checkout's .nomarmy.yml defines -- the one file every job's sandbox image and every verification uses, whichever branch the job starts from (never the job worktree's own copy, which a worker could edit): every verification profile name and its commands/environment, and any elevated (shared/remote) services that need explicit policy approval before a job may use them. Pass a profile name to `verification`/`union_verification`/`verify_regression` only if it appears here. Read-only; never writes or proposes a config (see `nomarmy scan` for that).
local_workers
Run independent jobs (implement or scout) with bounded parallelism and wait for all of them. Every implement job receives its own branch, worktree, sandbox session, logs, validation, and coordinator-owned commit. This tool never merges any branch into the developer's branch. With auto_union: true, implement jobs that reach a valid outcome and touch non-overlapping files are additionally merged (git merge --no-ff) into ONE new integration branch -- a review artifact alongside the untouched per-job branches, still not the developer's branch, still reviewed and integrated explicitly. Jobs that ov…
repo_evidence
Deterministic repository evidence with exact [path:line] citations and no model involved. ops: grep, definitions, references, outline, files. definitions/references take a symbol in 'query' (heuristic per language family); outline takes 'path'; grep takes a regex in 'query'; files takes a glob. Runs against the project working tree in milliseconds. Prefer this over reading files for where-is / who-calls / what-declares questions, and over a scout for anything it can answer.
| Parameter | Type | Description |
|---|---|---|
op * | string | |
glob | string | |
ignore_case | boolean | |
json | boolean | |
max_results | integer | |
path | string | |
query | string | |
whole_word | boolean |
commit_show
Read-only: what a job or a commit changed. A job id gives that job's change against the base it started from (its commit, or a retained worktree's uncommitted changes); a commit gives its message and diff against its first parent, or with `base` the diff from base to it (a branch diff). For a General without a shell: review what an earlier job committed, or decide what a redo needs. Size-capped; files over the cap are listed, not shown, and a file whose diff matches a secret rule is withheld and named. To hand a commit to a worker, pass reference_commits on its job instead of pasting the diff…
| Parameter | Type | Description |
|---|---|---|
ref * | string | A job id (for example worker-20261019-134317-214b60), or a commit SHA, branch or tag in this repository. |
base | string | A commit to compare against instead of the first parent (not with a job id). |
max_bytes | integer | |
paths | array | Only these paths. |
local_worker_jobs
List recent job records for review/recovery, including jobs still running or orphaned by a server restart. Does not modify repositories. Returns a small PROJECTION per job by default (jobId, outcome, branch/commit, worktreeRetained, filesChanged, timing, issues) -- enough to decide what needs recovery or cleanup without pulling every job's full execution record (objective text, budgets, git records, ...) into context, which can exceed the tool result size past a handful of jobs. Pass full: true only for the specific job(s) you already know need deep inspection.
| Parameter | Type | Description |
|---|---|---|
full | boolean | Return each job's complete, uncompacted manifest instead of the small default projection. Requesting this across many jobs at once risks exceeding the tool result size cap -- prefer the default projec… |
limit | integer |
local_worker_sweep
Bulk-reap job worktrees/branches that are PROVABLY EMPTY: the branch's tip is identical to the base SHA it started from (zero commits) AND the worktree has no uncommitted changes left either -- there is nothing here to inspect, recover, or lose. Never removes a worktree holding any real committed or uncommitted work, regardless of age or older_than_hours -- emptiness is what makes it safe, not age. A worktree with real work always stays a deliberate, individual local_worker_cleanup call. Use dry_run first to see what would be reaped.
| Parameter | Type | Description |
|---|---|---|
delete_branches | boolean | Also delete each reaped job's branch. Safe unconditionally here (never force) -- a branch identical to its base SHA is trivially git's own definition of already-merged. |
dry_run | boolean | Report what WOULD be reaped without removing anything. |
limit | integer | Maximum number of job directories to examine in one call. |
older_than_hours | number | Only consider jobs finished (or, if never finished, last touched) at least this many hours ago. 0 (default) considers every job regardless of age. |
local_worker_cleanup
Remove a retained worker worktree and optionally its agent branch after Claude has reviewed/integrated or deliberately discarded it. Refuses to delete the current branch. A branch whose commits were cherry-picked (not merged) into the current branch -- nomArmy's own integration model -- is recognized as integrated by comparing PATCH CONTENT (git cherry), not git's own ancestry-only check, so a genuinely-integrated job's cleanup does not need force: true. Reserve force for a branch you are actually discarding unintegrated work from.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
delete_branch | boolean | |
force | boolean |