Human Use

HRT codes

When a call to a person fails, the agent gets a code: four digits, a name, a detail. This page is the registry. It is meant to grow: a new code is added when runtimes on separate units run into the same new case.

codes.json
Registry
HRT
Rev
0.1.2
Codes
11
Format
HRT-NNNN NAME detail
Updated
2026-11-18
Machine copy
/codes.json

1The number space

Each square is a number the registry can hand out. 4xxx means the call was wrong or not allowed; 5xxx means the runtime or its driver failed. Filled squares are taken; the rest are free.

40004000–4039
Call4000–4019 · 4 of 20

The call itself: tool name, arguments, ids, state.

Money4020–4029 · 2 of 10

The goal's monthly budget.

Authority4030–4039 · 2 of 10

Who may do what: lead, agent, unit.

50005000–5039
00 30 31
Runtime5000–5029 · 1 of 30

The runtime on your computer failed.

Driver5030–5039 · 2 of 10

The driver model is missing or could not do its part.

takenshown to the unit, not the agentfree

2The codes

What each one means, what the agent should do next, and what it looks like when it arrives.

4000–4019Call

HRT-4000NO_SUCH_TOOLNOT_A_HUMAN_TOOLerror
When
The tool name is not in the catalog (NO_SUCH_TOOL), or at or every was given a tool that prints no card (NOT_A_HUMAN_TOOL).
Agent
Pick a tool from tools/list. at and every take card tools only.
Looks like
HRT-4000 NOT_A_HUMAN_TOOL ps
Since
0.1.0
HRT-4001BAD_ARGSerror
When
The arguments fail the tool's schema or one of its limits. Schema failures name the field; limit checks state the rule.
Agent
Fix the named field and call again.
Looks like
HRT-4001 every must be at least 1m
Limits
record.seconds600 or less
rest.minutes, recharge.minutes240 or less
choose.options2 to 6
decode.options2 or more, if given
checklist.steps1 or more
every.every1m or more
history.limit200 or less
goal_note.agenda1500 characters or less
spend.max, spend.currencyboth required; currency is 3 letters
canceljob or schedule required
unitrequired on card tools when more than one unit is paired
Since
0.1.0
HRT-4004NO_SUCH_JOBNO_SUCH_GOALNO_SUCH_SCHEDULENO_SUCH_UNITerror
When
The id was never issued on this runtime, or no unit has that name or id (NO_SUCH_UNIT).
Agent
Use ids from earlier returns. ps lists what is pending and active, and the units by name.
Looks like
HRT-4004 NO_SUCH_GOAL g_000000
Since
0.1.0
HRT-4009JOB_NOT_PENDINGJOB_NOT_OPENGOAL_NOT_ACTIVEerrorresult
When
As an error: the job or goal has moved on (already settled, closed or cancelled). In a result: the unit gave a reason it could not do the task, the driver did not believe it, and checking did not settle it.
Agent
Error: read the current state with ps or goal_get. Result: the task is not done and the reason is doubtful. Check it another way, send the task again, or give up on it.
Looks like
{"done": false, "blocker": "no one home", "code": "HRT-4009"}
Since
0.1.0

4020–4029Money

HRT-4020BUDGET_EXCEEDEDerror
When
spend's max is more than what is left of the goal's budget this month.
Agent
Lower max, wait for next month, or ask the lead for a bigger budget.
Looks like
HRT-4020 BUDGET_EXCEEDED remaining 14.5 USD
Since
0.1.0
HRT-4021CURRENCY_MISMATCHerror
When
spend names a currency other than the budget's.
Agent
Convert and call again in the budget's currency.
Looks like
HRT-4021 CURRENCY_MISMATCH budget is USD
Since
0.1.0

4030–4039Authority

HRT-4030LEAD_ONLYerror
When
A background pass tried to cancel a goal. Only the lead cancels a goal.
Agent
Record the reason with goal_note. The lead reads it and decides.
Looks like
HRT-4030 LEAD_ONLY a goal is cancelled by its lead. Record the reason with goal_note.
Since
0.1.0
HRT-4031PRIVILEGE_ESCALATIONcard
When
The unit's answer tried to give the system orders: ignore a rule, set a value, change or cancel the goal, claim someone in charge approved, or pass itself off as a system message.
Agent
Nothing to do. The answer is discarded, the card stays open, and the attempt counts as a round.
Unit sees
[HRT-4031 PRIVILEGE_ESCALATION] Input discarded. Task unchanged.
Since
0.1.0

5000–5029Runtime

HRT-5000no namehttp
When
Something inside the local runtime threw.
Agent
Call again. If it repeats, the lead reads the runtime's log.
Looks like
{"error": "HRT-5000", "message": "..."}
Since
0.1.0

5030–5039Driver

HRT-5030VERIFIER_UNAVAILABLEDRIVER_UNAVAILABLEerror
When
No driver is set. goal_close with done (VERIFIER_UNAVAILABLE): a goal closes as done only after a driver checks the evidence against done_when. A card whose answer only the driver can read (DRIVER_UNAVAILABLE): free text, photos, recordings, sudo; it is refused before a unit spends time on it. The message lists the card tools that work without one.
Agent
Use a card tool from the list, or leave the goal open, and tell the lead a driver is needed: npx human-use config driver <backend>.
Looks like
HRT-5030 DRIVER_UNAVAILABLE no driver is set to read the answer to observe. Without one: choose, checklist, go, mood, eat, sleep, rest, act, remind, recharge. The lead sets one: npx human-use config driver <backend>
Since
0.1.0
HRT-5031COMPILE_FAILEDescalation
When
The driver answered but could not turn the unit's answer into the fields the agent asked for: it returned no usable action or hit its notebook lookup limit. A driver that cannot be reached raises nothing: the answer is saved, the job stays in review with held, and the driver reads it when it is back.
Agent
Read the job, then send a simpler task or ask for fewer fields.
Looks like
{"type": "escalated", "job": "j_…", "tool": "observe", "reason": "HRT-5031 COMPILE_FAILED"}
Since
0.1.0

3How a code reaches the agent

Most codes fail the call. A few arrive inside a result, as the reason a job was escalated, or on the unit's own screen.

PathCodesWhat the agent sees
error4000 4001 4004 4009 4020 4021 4030 5030{"isError": true, "content": [{"type": "text", "text": "HRT-4020 BUDGET_EXCEEDED remaining 14.5 USD"}]}
result4009The job settles; the code is a field of its result. {"done": false, "code": "HRT-4009"}
escalation5031The job ends as escalated with the code as its reason, and the goal's next pass is woken.
card4031Nothing. The line prints on the unit's phone and the card stays open.
http5000HTTP 500 from the local runtime, body {"error": "HRT-5000", "message": "…"}

4How a code gets a number

The same way a tool variant enters the catalog. Codes start local and are counted; the registry takes in only what several units found on their own.

Local later

A runtime names a new case

A failure no code covers gets a local name on that runtime and is used there. Nothing leaves the machine by default.

Counted later

Separate units hit it too

The same case, named independently on runtimes that share no lead, is grouped as one.

Registered now: 11

It takes the next free number

In the range it belongs to, with one name, one meaning and a line in the log below. A number, once given, is never reused.

No code is added by hand-written request. The 11 codes of 0.1.0 are the ones the runtime raises today.

5Log

RevDateChange
0.1.02026-11-17First registry: 11 codes in 5 ranges. Card tools name a unit when more than one is paired.
0.1.22026-11-18HRT-5030 also covers cards that need a driver when none is set (DRIVER_UNAVAILABLE), refused at dispatch. An unreachable driver no longer raises HRT-5031: the answer is held until it is back.