The Placement report
Read the Placement report to see which devices could run a task or agent right now, and exactly why the others can't.
When nothing seems to be picking up a task, the fastest way to find out why is to ask CodeHerder directly. The Placement report answers one question: which of your devices could take this work right now, and why not the others. It runs the same checks the engine runs when it staffs a task, including device health. Every eligible or ineligible verdict, and every reason given for it, is the decision the engine would make. A few conditions only show up when a session starts. See What the report can’t see.
Placement answers this for one task or agent at a time. To see the same coverage question answered for every stage across your whole workspace at once, see Staffing coverage.
Where to find it
-
On a task’s detail page, the Placement panel.
-
On an agent’s detail page, the Placement panel.
-
From the CLI, for a task:
ch task placement <taskId> -
From the CLI, for an agent:
ch agent placement <agentId>Inside an agent’s own session, leave off
<agentId>to report on that agent.
The Placement panel on a task’s detail page always answers for the task alone, so it always shows the “Agent requirements not folded” note. To narrow the answer to one agent, use the CLI’s --agent flag (see Narrowing the answer with --agent below).
Reading the header
The CLI prints a header line before the device table:
fleet: candidates_available · requires: gpu(agent), bin:codex(harness)
fleet: is one of three states:
| State | What it means |
|---|---|
no_devices_linked |
No device is linked to this workspace at all. This never fixes itself — link a device (see Managing your devices). |
candidates_available |
At least one linked device is eligible right now. |
none_eligible |
Devices are linked, but none currently passes every check. This often clears on its own — a device reconnecting, a cooldown expiring, or a slot freeing up — so it’s worth a second look a few minutes later before you change anything. |
requires: lists every capability the work needs and where each one came from:
| Source | What it means |
|---|---|
agent |
Comes from the target agent’s device requirements. |
harness |
Comes from the coding-agent CLI the agent’s launch config uses. |
git-host |
The task’s stage needs to read or write the repo’s git host, so a device must be authenticated to that host. |
task-device |
A hard device requirement set directly on the task or its schedule. |
environment |
The stage’s tools need a system image, so the device’s ch must be new enough to build one. A device that is too old reads device_update_ch. |
guardrails |
Guardrails apply to the work, so the device’s ch must be new enough to enforce them. A device that is too old reads device_update_ch. |
isolation |
The work needs an isolated device. See Work that needs an isolated device. |
egress |
A strict egress default applies, so the device must enforce egress. See Work that needs a device that enforces egress. |
When the work needs nothing, requires: prints none. A git-host requirement can also name the repository it applies to, for example auth:github(git-host: <repo>).
Any report-level caveat (see Caveats below) prints on its own caveat: <name> line under the header. For git_host_auth_ungated, the line lists the hosts in parentheses:
caveat: git_host_auth_ungated (git.example.com)
The device table
Below the header, a table lists every device the report considered, with five columns:
| Column | What it shows |
|---|---|
| DEVICE | The device’s name. |
| ELIGIBLE | Whether this device could take the work right now (true/false). |
| ENV | The state of the stage’s tools on this device: ready, building, pending, failed or ineligible. Prints an em dash (—) when the work needs no workspace tools. See Stage environments. |
| REASON | If not eligible, the single decisive reason — see the table below. Prints an em dash (—) when eligible. |
| DETAIL | Whatever else is worth knowing, separated by semicolons. Each part appears only when it applies. See the list below. |
DETAIL can carry these parts:
missing:lists the capabilities the device lacks.also:lists the other failing checks after the headline reason.platform:,env:,log:andretry:describe the stage’s tools on this device: its platform, why a build failed, the build log, and the next retry time.image:gives the state of the stage’s system image.image env:,image log:andimage retry:add the same detail for the image.caveats:lists per-device caveats (see Caveats).not linked to this workspacemarks a device you can see but have not linked here.
When a row has none of these, DETAIL prints an em dash.
Eligible devices are listed first, then every device is sorted by name. The report caps the list at 500 devices; if your fleet is that large, the CLI prints a (truncated …) notice above the table rather than silently dropping the rest.
The table also lists devices you own, or can otherwise see, that aren’t linked to this workspace — DETAIL carries “not linked to this workspace” for those rows, so you can spot a device you meant to link but haven’t.
Every reason, and what to do about each
The table lists the reasons in the order the checks run.
| Reason | What it means | What to do |
|---|---|---|
device_offline |
The device has no active connection right now. | Start or restart ch device-server on that machine — see Managing your devices. |
device_disabled |
Someone paused the device. | Resume it with ch device enable <deviceId>, or Enable it in the web app — see Managing your devices. A cloud device draining ahead of an AWS reclaim shows this same reason and needs no action — it clears on its own; see If AWS reclaims the instance. |
device_excluded_by_workspace |
This workspace, or a group above it, turned the device off for itself. The device still serves other workspaces. | Run ch device enable <deviceId> --workspace <workspace> against the workspace or group that turned it off. See Turning a device off for one workspace. |
device_not_workspace_linked |
The device isn’t linked to this workspace or an ancestor group. | Link the device to the workspace — see Managing your devices. |
device_isolation_required |
The work needs a more isolated device than this one. See Work that needs an isolated device. | Run the device at the needed level, or relax the requirement at its source. See Self-hosted device isolation. |
device_egress_unenforced |
A strict egress default applies, and this device does not enforce egress. A host-process device never does. See Work that needs a device that enforces egress. | Run the device with ch device-server --isolation isolated, or ask an admin to set the egress default to open. |
device_update_ch |
The stage needs a feature that this device’s ch is too old to offer. |
Update ch on the device. See Updating the CLI and the server. |
device_caps_mismatch |
The device doesn’t advertise a capability the work requires. | Find which source asked for it (in the header’s requires: list), then either make the device advertise it (install the missing tool, or set it as a device-side token with ch device edit <deviceId> --cap <label>) or relax the requirement at its source. See Capabilities. |
device_unhealthy |
The device’s health report is missing or out of date, or a check that covers the whole device is failing. | Open the device’s Health snapshot and fix the failing check. See Unhealthy device and Readiness checks. |
device_repo_auth_failed |
The device is healthy overall, but its git credentials for a repository this task needs are failing. Only work that needs that repository is held back. Task reports only. | Fix the device’s git credentials for that repository. See Git credentials in Readiness checks and Git credentials on a device. |
device_harness_auth_failed |
The device is healthy overall, but a harness this work needs is not signed in there. The report names the harness, for example mini sign-in failed. Only work that needs that harness is held back. |
Sign the harness in on the device. For mini, set CH_MINI_API_KEY_FILE or add a pooled credential (ch device credential create --harness mini). See AI credentials on a device. |
device_agent_isolation_required |
The task needs a repository, and this device refuses repository work until it has agent isolation. Task reports only. | Set up an agent user on the device, or run it with --isolation isolated. See Repository work needs agent isolation. |
device_environment_ineligible |
The stage needs workspace tools, and the device’s platform has no build of them. | Link a device on a supported platform, or change the tool. See Stage environments. |
device_environment_backoff |
The device failed to build the stage’s tools and is waiting to retry. | Wait for the retry, or check the build on each device and choose Rebuild. See Stage environments. |
device_disk_budget_hold |
The stage needs a build of its tools, and the device has too little free disk for one. Work whose tools are ready on the device still places. | Free space on the device. The hold clears when its Disk budget check passes. See Readiness checks. |
device_local_secret_not_permitted |
The agent reads a local @secret: credential from the device keyring, and the device owner has not permitted that key on this device. Server-stored secrets never cause this. |
Ask the device owner to run ch device secrets set <device> --add KEY, or remove the @secret: reference from the launch config. Placement tries another eligible device first. |
device_no_usable_credential |
Every AI credential on the device is turned off or rejected. This doesn’t clear when a usage window resets. | Add a working credential, or turn one back on. See Recovering a rejected credential. |
device_provider_unavailable |
Recent runs on this device failed on a provider error, and the device is waiting out a backoff. | Wait. It clears when the backoff ends. See AI provider outages. |
device_sub_exhausted |
Every Claude credential on the device has hit a usage window or spend cap. | No action needed — it resumes automatically once a meter resets. Adding another Claude credential to the device keeps it eligible sooner. See AI usage limits and AI credentials on a device. |
device_provision_cooldown |
This task recently failed to provision on this device and is briefly avoiding it — only shows up in a task’s report. | Wait for the cooldown to expire, or try a different device. |
device_at_capacity |
The device has no free slot for new work. DETAIL carries caveats:run_cap_saturated when the cause is every running-session slot being in use; without that caveat, every sandbox slot is in use instead. |
Wait for a slot to free up, or raise the device’s concurrent-session limit — see Concurrency and capacity. |
An eligible device carries no reason at all. If a device fails more than one check, DETAIL lists the rest after also: — fixing only the headline reason won’t be enough on its own.
Work that needs a device that enforces egress
The egress_default setting of a workspace can be open or strict. A group’s value applies to every workspace under it. A child workspace can tighten the value but never loosen it, so the strictest value up the group chain applies. Under strict, every stage needs a device whose egress filter is enforced. A host-process device does not enforce one.
The header’s requires: list then shows an egress source. A device that does not enforce egress reads device_egress_unenforced. When no device in the fleet qualifies, the task waits with the reason egress_unenforceable.
To fix it, do one of these:
- Start an isolated device with
ch device-server --isolation isolated. - Set the egress default to open with
ch workspace edit <id> --egress-default open. Only a human admin can change this value. If a parent group setsstrict, change it on that group. Settingopenon the child does not loosen it.
Work that needs an isolated device
Some work must run on an isolated device. Five sources can ask for it:
- The
isolation_policyof the workspace or a parent group. The strictest value up the group chain applies:writableasks for an isolated device for writable stages.allasks for an isolated device for every stage.anyis the default. It asks for nothing.
- The
isolation: isolatedsetting of a workflow. - The
isolation: isolatedsetting of a stage. - A stage
imagethat needs a container. - A stage that needs the
stage-dockercapability.
The header’s requires: list then shows isolation:isolated. A device that reports unisolated is not eligible for that work. When no device in the fleet is isolated, the task stops with the reason isolation_unplaceable. The message names the fix. On a device you own, run ch device-server --isolation isolated. See Self-hosted device isolation.
What the report can’t see
Some refusals only happen when a session starts. The report can’t predict them, so a device can read eligible and still not take the task:
- Secrets. A device secret that its owner hasn’t acknowledged shows only as a caveat, and only when you name an agent with
--agent. - A device that refuses at spawn. If a device refuses the session when it starts, the task enters a cooldown on that device. The next report shows
device_provision_cooldown. - Self-hosted git hosts. CodeHerder can’t check a self-hosted host’s authentication in advance. See
git_host_auth_ungatedbelow.
Caveats — gates that would otherwise be invisible
A caveat calls out something the header and table can’t otherwise show you. Some apply to the whole report:
link_state_unknown— the workspace-link check couldn’t run this pass, so every device was treated as linked. Re-run the report if a device you expect to see missing isn’t.capacity_unknown— the capacity check couldn’t run this pass, so every device reads as full. This is a temporary blip, not a genuinely saturated fleet — check again shortly.git_host_auth_ungated— the work needs to reach a self-hosted git host, and CodeHerder has no way to check that host’s authentication in advance, so this check is skipped by design. The report names the host so you know which one to double check yourself.agent_requirements_not_folded— you asked for a task’s report without naming an agent, so the agent’s device requirements aren’t part of the answer. See Narrowing the answer with--agentbelow.dependency_blocked— this task (task reports only) has an unmet upstream dependency. No device is offered the task while that holds, regardless of what the table below shows. See Unresolved dependency.
Others apply to one device, and show up in that row’s DETAIL after caveats::
run_cap_saturated— this device has no free running-session slot right now, so the report marks itdevice_at_capacityeven if it has free disk (sandbox) capacity. A slot frees on its own as a session finishes, or raise the device’s concurrent-session limit — see Concurrency and capacity.parked_pool_full— this device has free disk (sandbox) capacity, but its queue of waiting sandboxes already fills its free running slots plus the warm buffer. New work cannot start here until a waiting sandbox runs. The spare count in the row is the admission spare, not the raw disk spare.health_unknown— CodeHerder couldn’t read device data this pass, so it couldn’t judge this device’s health. The row is refused asdevice_unhealthyfor lack of data, not because of a failing check. Re-run the report.agent_isolation_refused— this device is in the task’s cooldown because it refused to start the session without agent isolation. Seedevice_agent_isolation_requiredabove for the fix.repo_credential_refused— this device is in the task’s cooldown because it had no git credential for a repository the task needs. Seedevice_repo_auth_failedabove for the fix.secret_not_acknowledged— you named an agent, and every other check passed, but that agent would still fail to start on this device: its launch config references a local credential (@secret:<key>) the device owner hasn’t permitted on this device. The row’s reason is thendevice_local_secret_not_permitted, and placement skips the device. Server-stored secrets never cause this. See Secrets on a device to permit it.device_metadata_unknown— CodeHerder couldn’t read this device’s name or secret-acknowledgement state this pass, so the row can’t say more than that. This is a transient blip, not a real problem — re-run the report.
Narrowing the answer with --agent
ch task placement on its own answers “which device could take this task,” using only the task’s own requirements — it doesn’t yet know which agent would run it, so any device requirement the agent itself has isn’t part of the check (that’s the agent_requirements_not_folded caveat). Naming a candidate agent sharpens the answer to exactly that agent’s chances, folding in its device requirements, its harness’s requirements, and whether any secret it references is acknowledged on each device:
ch task placement <taskId> --agent <agentRef>
For a task already assigned to a specific agent, or when you’re deciding which of several agents to assign, run it once per candidate to compare.
Related guides
- Staffing coverage — the same coverage question, answered for every stage across your whole workspace at once
- Why isn’t my task moving? — the full diagnostic walkthrough, with the Placement report as the first stop for a staffing problem
- Managing your devices — online status, health checks, concurrency, and pausing a device
- Capabilities — what a capability label is and where each kind is set
- AI usage limits — how a usage window or spend cap pauses a device and recovers on its own
- Secrets on a device — acknowledging a device-side secret an agent’s launch config references
- Agents and the CLI — creating and configuring agents
Last updated