beetlebug▾
/

Errors

An error of the command line prints jcode: TEXT, with the exit code 1. An error of the daemon starts with its HTTP status. This page lists the texts by where they come from.

start

Text Cause
start needs --dir (or --model, --brief) A required option is missing.
no folder DIR The work folder does not exist. Make it, or use --clone.
no isolation level "L": use one of none, process, vm A bad --isolation.
the host gives no process isolation: … The host has no Landlock, user namespaces, or cgroup v2.
the daemon has no capability thread (or vm) bin/jcode was not used, or the runner lacks the capability.
no guest image "ztcl-guest" in the store of ztcl::vm: … The level vm needs the guest image (Isolation).
the work folder is a git worktree, and its git folders are outside it: … Use --clone, or give each folder with --write.
--clone needs --branch, and --branch needs --clone Give both.
--seed-cache needs --clone Give --clone.
the folder of --dir exists: DIR; --clone makes it Remove the folder, or give another --dir.
a bad size "S" --mem takes a number with an optional K, M, or G.
--env needs NAME=VALUE: … (or --check) A bad pair.
this ztcl has no -memory option of thread::create: … --mem needs a ztcl later than 1.0.0-beta.7.

Other commands

Text Cause
no daemon: start it with `jcode serve` No file port in the state folder.
no daemon on port N: … The daemon is not running.
404: no agent ID A bad id.
409: the agent ID is stopped (or capped) send to an agent that cannot go on.
409: the agent ID runs no command interrupt with no running command.
401: refused: a bad token The token of the state folder does not match the daemon.

Tool results

The model sees these as a result entry that starts with fail:.

Text Cause
path is outside the work folder: PATH A path outside the work folder, also through a link.
no file PATH read_file or edit_file of a path that is not a file.
old occurs N times; it must occur once edit_file with a text that is not unique.
the file is larger than 16777216 bytes: use run, or search read_file or edit_file of a large file.
the run tool of this agent allows only: WORD … A command whose first word is not in --run.
exit 137 … no output for S s The idle limit.
exit 137 stopped by the coordinator interrupt or stop.

Reasons of a state

State Reason
failed the model call failed: ERROR. Send a text to try again
stalled no tool call in 4 replies in a row: send a text to go on
capped the cap of N turns is reached, the cap of N tokens is reached
stopped stopped by a request