agentleFS
agent-substrateagent-substrate/substrate/.agents/skills/actor-lifecycle-triage/SKILL.md

actor-lifecycle-triage

Skill8.6k starsChanged 8 days agoApache-2.0View on GitHub

Finds why an Agent Substrate actor is stuck in a state, CRASHED, refuses a lifecycle call, or is RUNNING but not answering. Use after the troubleshoot skill picks the actor lifecycle area, or directly when one actor's state looks wrong. Reads the actor, its worker and atelet, matches the symptom against the reference tables, and reports the root cause with evidence. Read-only.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about agent-substrate/substrate

The biggest 5 of 101 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 101

Talked about on GitHub, YouTube, the web, Bluesky and Hacker News (101 times).

On GitHub · 50

45 more on GitHub

On YouTube · 23

18 more on YouTube

On the web · 12

7 more on the web

On Bluesky · 11

6 more on Bluesky

On Hacker News · 5

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the rules, fact collection, and report format in the troubleshoot skill.

    line 8
  2. Distinctive:

    Run the Confirm check before calling a root cause.

    line 57
  3. Distinctive:

    Use the report format in troubleshoot, with Area: actor lifecycle.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Actor lifecycle triage

Follow the rules, fact collection, and report format in the troubleshoot skill. This skill covers one actor.

Actor states are RESUMING, RUNNING, SUSPENDING, SUSPENDED, CRASHED, DELETING, and REVERTING. New actors start SUSPENDED. A resume call (or an incoming request through atenet-router) moves an actor to RUNNING, and it stays RUNNING until explicitly suspended. The only way out of CRASHED is kubectl ate revert actor, which resets the actor to SUSPENDED at its last uploaded snapshot.

1. Read the actor

kubectl ate get actor <actor> -a <atespace> -o yaml

Note:

  • status.state, and how long it has stayed there.
  • status.crash.message and status.crash.crashTime, if CRASHED.
  • status.workerAssignment: the worker pod, its namespace and pool.
  • status.assignedNode.

2. Check the worker and atelet

A resume, suspend, or revert calls atelet on the assigned node, which calls the worker. Check both:

kubectl -n <worker-namespace> get pod <worker-pod> -o wide
kubectl -n ate-system get pods -l app=atelet -o wide --field-selector spec.nodeName=<node>
kubectl ate get workers

A missing worker pod or an unready atelet on the node causes most stuck and crashed actors. Note what you find for step 3.

3. Match the symptom

Pick the section of references/states.md that matches the actor:

SymptomSection
Stuck in RESUMING, SUSPENDING, REVERTING, or DELETINGStuck in a transition
CRASHEDCRASHED, by status.crash.message
Call refused with FailedPreconditionCall refused
RUNNING, but requests or logs show it is not workingRUNNING but not working

Run the Confirm check before calling a root cause. These logs are useful across all cases:

# ate-api-server runs every lifecycle call and logs each one as `Handle RPC`,
# with the request and the error. It runs more than one replica.
kubectl -n ate-system logs -l app=ate-api-server -c ate-api-server \
  --since=1h --tail=-1 --prefix | grep '<actor>'
# The actor's lifecycle events on its current worker. Works only while RUNNING.
kubectl ate logs actor <actor> -a <atespace> --source=lifecycle

4. Known gaps

  • On gVisor, an actor stays RUNNING even after its sandbox dies (such as from OOM, see #2211). Nothing marks it CRASHED.
  • ate-api-server does not retry failed lifecycle calls. After a retriable error, the actor stays in its transition state until the caller retries.
  • During an atelet rollout, a resume or suspend hitting that node fails with Unavailable (or Internal with no atelet pod found on node while no pod exists). Running actors are not affected.
  • kubectl ate logs actor streams only while the actor is RUNNING. For earlier logs, use the cluster's log backend.

5. Report

Use the report format in troubleshoot, with Area: actor lifecycle.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.