# The Actors List Lies. Trust the Workers List.

> The actors list lies on Agent Substrate: suspended inventory grows without bound and returns partial results. Trust the workers list instead.

- Canonical URL: https://webofmike.com/substrate-actors-list-lies/
- Author: Mike Moore (https://webofmike.com/about/)
- Published: 2026-11-10
- Last modified: 2026-11-08
- Tags: Kubernetes, AI Agents, Observability
- Cite as: Mike Moore, "The Actors List Lies. Trust the Workers List.", Web of Mike (webofmike.com), 2026-11-10. https://webofmike.com/substrate-actors-list-lies/


<!-- ART: a clipboard roster so long it trails off the table, next to a short whiteboard with two names on it. -->

The actors list lies: every finished Agent Substrate session leaves a Suspended entry behind, so the inventory grows without bound and returns partial results under load. If your dashboard joins who is running through that list, live sessions vanish from the board even though the agent is mid-turn. Derive assignments from the workers list instead, which is bounded by pool size and names the actor in the slot.

Lesson one from [the talk](/kubectl-is-lying-to-you/), and the one that cost me an evening.

## Why do running sessions disappear from an Agent Substrate dashboard?

Running sessions kept vanishing from the Substrate Scope board. An agent would be mid-turn, glowing in its bay, and then it was just gone. A refresh later it was back. Nothing was wrong with the agent. Something was wrong with how I was asking.

This is the kind of bug that looks like a runtime failure and is an observability join. The cluster was doing what [Agent Substrate](/what-is-agent-substrate/) is supposed to do: restore an actor onto a worker, run the turn inside a gVisor sandbox, checkpoint back to object storage. One actor per worker. The bay was busy. The chip on my board was not.

I was building "which agent is on which worker" by walking the actors list. That seemed obvious. Actors are the agents. The kagent controller's substrate status endpoint even returns them with live statuses like `Resuming` and `Suspended`, which looks like exactly the inventory a visualizer wants.

It is not. It is a log of everything that ever happened, wearing an inventory's clothes.

[Substrate Scope](/substrate-scope/) made the lie visible because the board is physical. A missing chip is obvious in a way a missing JSON row is not. `kubectl get pods` never showed the gap. Two worker pods stayed `Running`. The [lab writeup](/kagent-agent-substrate/) is where I first wrote the join rule down. This post is the test I wish I had run before I spent the evening chasing ghosts that were not ghosts yet. Ghost actors, the ones that pin a slot after a killed session, are [lesson four](/ghost-actors-pin-your-workers/). This lesson is the quieter one: the slot is fine, your list is not.

## Why does the actors list grow without bound?

Every completed session leaves a Suspended actor entry behind. The list never shrinks. Mine passed 900 entries in a day.

That is the density story from the other side. Idle agents are snapshots in object storage. The actor record is how the control plane remembers they exist. If you served over a thousand real chat sessions, the way the laptop cluster did, you should expect the actors list to be large. On the talk setup that was 18 agents on two workers. On the first lab it was nine on those same two workers. The worker count did not grow. The history did.

Under load the list started returning partial results. The running actor I was looking for just was not in the page I got back. The board treated "not in this response" as "not running." Hence the vanishing chip.

I still do not know whether Substrate garbage collects that Suspended inventory over time. The original lab post ends on the same open question. Either way, a dashboard should not depend on it. If GC exists and I have not seen it, a board that needs a complete actors list is still wrong on the day the list is long. If GC does not exist, the list is an unbounded table you will page forever.

The general rule is one every test engineer already knows. Measure the thing with the bounded, authoritative state, not the log of everything that ever happened. The actors list is history. The workers list is now.

## Why should you join from the workers list instead?

Join from the workers side. The workers list is never bigger than your pool, and each worker names the actor assigned to it. Two workers, two rows. When I switched the board to derive assignments from workers, sessions stopped disappearing. Same cluster, same load.

That is occupancy you can trust:

- a worker with an actor name is a busy slot
- a worker with no actor is a free slot
- the length of the list is the pool size you think you have

You cannot get those three facts from the actors list without a complete scan plus a join you might only half receive. You can get them from workers in one bounded read.

On a kagent cluster the data is the same payload Scope polls in live mode. Port-forward the controller and ask:

```bash
kubectl port-forward -n kagent svc/kagent-controller 8083:8083
curl -s http://127.0.0.1:8083/api/substrate/status
```

The response carries four lists: `workerPools`, `actorTemplates`, `actors` (with live status like `Resuming` or `Suspended`), and `workers` (one row per worker pod, naming the actor it currently hosts). This is the same data the kagent UI's Substrate page shows.

Worked example, using only numbers this cluster already published. Two workers. Eighteen agents. Over a thousand sessions. The workers list has two rows. The actors list has every Suspended leftover from those sessions, and in my case it passed 900 in a day. If you draw "who is on the board right now" from actors, you are scanning hundreds of historical rows to find at most two live ones, and under load you may not even get the two. If you draw it from workers, you read two rows and you are done.

Scope's live mode has two sources today, which is why this join keeps coming up. On kagent 0.9.7+ it polls the controller and gets full fidelity. On any other Agent Substrate cluster it falls back to kubectl CRDs: WorkerPools, worker pods, ActorTemplates. Scaling still works. Which actor is on which worker is not visible, because that state lives in `ateapi`. Closing that gap is [issue #1](https://github.com/themsquared/substrate-scope/issues/1) on [themsquared/substrate-scope](https://github.com/themsquared/substrate-scope): a direct adapter for the upstream `ListWorkers` and `ListActors` calls. If you wire that adapter, still join from `ListWorkers`. The issue exists so clusters without kagent can see assignments. It is not an invitation to go back to walking actors.

## How do you test that your dashboard is lying?

A checklist I would run on any board that claims to show Agent Substrate, including mine, before I trusted it in a talk.

1. **Confirm the source.** Are you reading `/api/substrate/status`, a CRD scrape, or `kubectl get pods`? Pods will not tell you which actor is in the bay. CRDs without kagent will not either. Status or `ListWorkers` can.
2. **Count both lists at idle.** Workers length should equal the WorkerPool replica count. Actors length will already be larger than the number of agents you defined, if you have run any sessions. If actors length equals your agent count and you have been chatting all afternoon, either you are not looking at the same field I was or something is garbage collecting. Do not assume. Measure.
3. **Put one session on the board.** Restore one agent. The workers list should name that actor on exactly one row. The actors list should show that actor in a live status such as `Resuming`, plus every Suspended leftover. If your UI shows the session only when it can find it in actors, you have the bad join.
4. **Load the inventory.** Generate enough completed sessions that the actors list is large. I crossed 900 in a day. You do not need my number. You need a list big enough that a partial response is possible. Refresh the board continuously while sessions complete.
5. **Watch for dropouts.** A running bay that blanks on refresh and returns later, with no change in `kubectl get pods`, is the symptom. If it happens, log whether that actor was present in the actors page you got back. If it was missing from actors and present on workers, you have reproduced the lie.
6. **Switch the join.** Derive "glowing bay" from workers only. Repeat step 5. Sessions should stop disappearing. Same cluster, same load. That is the pass condition I actually saw.
7. **Keep actors for history, not occupancy.** Per-agent drawers, snapshot counts, and "how many times did this agent run" can still read actors. Live placement cannot.

What this test is not: it is not a proof that Substrate is dropping work. The agent kept running. The board lied. If you page from a missing chip to a WorkerPool restart, you will "fix" a display bug by bouncing hardware. Save the restart for [ghost actors](/ghost-actors-pin-your-workers/), where the workers list says the slot is taken and nothing alive is using it.

## What should you instrument so this does not recur?

Three signals, all from the bounded side:

- **Occupancy:** busy workers / total workers, from the workers list. This is also the down-signal in [CPU is the wrong signal to autoscale agents](/cpu-is-the-wrong-signal-to-autoscale-agents/).
- **Inventory skew:** actors count versus workers count. Skew growing all day is expected. Skew is not a capacity problem. Treating it as one is.
- **Join health:** a running worker whose actor is missing from the current actors page. That is the dropout detector. Alert on it as a dashboard bug, not as a stuck agent, until you have also checked the ghost case.

Do not autoscale from actors length. A thousand Suspended rows is a successful afternoon, not a reason to add pods. Reserved capacity on this laptop cluster was about 4.5x lower than the same agents as always-on pods, each of those always-on defaults holding about 204 MiB and 50m CPU idle. The actors list will not show you that win. The workers list, plus a snapshot shelf, will.

The same layering mistake shows up in scheduling. When the pool is full, Substrate rejects rather than queues. [Agent runtimes have an autoscaler, not a scheduler](/agent-runtimes-need-a-scheduler/). Asking the actors list who is waiting is as wrong as asking it who is running. Waiting lives in caller retry loops. Running lives on workers.

If you landed here first, start at [the hub](/kubectl-is-lying-to-you/). The field guide index is [Agent Substrate](/agent-substrate-field-guide/). The board's code is in [themsquared/substrate-scope](https://github.com/themsquared/substrate-scope). A direct adapter for `ListWorkers` and `ListActors` is still a well-scoped first contribution, as long as you trust the workers list when you wire it.

