Tokenman中文

Troubleshooting

When something is wrong, run the check-up first, then look up the symptom. Every row the check-up prints has a section under "Every row of the check-up" on this page (its heading is the row's name): what it checks, and what to do when it reports WARN / FAIL.

Run fleet doctor first

fleet doctor                              # this computer, this login: one row per item
fleet doctor | grep -E '^ *(WARN|FAIL) '  # only what needs action
sudo fleet doctor --machine               # the machine-wide half of a managed machine (a Mac with the machine daemon)

Each row is <level> <row name> <explanation>:

LevelMeaningAct on it?
FAILBroken: something about a session or the whole machine does not workFix it
WARNWill go wrong, or has not caught up with the new versionLook at it; when the explanation says the next round fills it in by itself, wait one round and look again
INFOA note, only telling you how things areNo
PASSFineNo

The exit code is the number of FAILs. Nearly every row's explanation contains its fix (fix: … or a command) — do what it says first; it is more specific than this page.

What to fix first: FAILs first, then WARNs; with several rows at once, fix the lowest layer first — the programs on the machine (tools python3 tmux) → daemons and runtime (daemon node runtime) → identity with the hub (cert hubauth hub) → the rest. When a lower layer is broken, the rows above it are usually red along with it.

On a computer with only the client installed (it watches sessions, runs none), fleet doctor prints only a few rows such as fleet (whether the client has caught up with stable) and notify (whether system notifications can pop up); each row's explanation is its fix.

By symptom

It will not install: fleet not found, the download does not move

Cannot sign in: the QR code expired, the certificate was not issued

Cannot reach a machine, cannot see other machines' sessions

The view will not come up, or quits right after it does

A session stopped, or does not respond

"This is a client; tasks run on managed nodes"

When GitHub is unreachable

In Tokenman, GitHub does one thing: it hosts the code and the pull requests. Tasks, sessions, subscriptions and the view all go through the hub, so most things carry on when GitHub is down; only the steps that deliver code wait.

Carries on:

Waits:

Picks up by itself once GitHub is back:

The check-up's gh row says only whether gh is installed and signed in on this machine, not whether GitHub can be reached right now.

Sending diagnostics to your admin

fleet doctor --json

Send the output to your admin — every row's level, name and message is in it.

Every row of the check-up

Ordered by "which layer to fix first". Each section starts with whether it comes from fleet doctor or fleet doctor --machine. When the check-up gains a row this page does not have yet, the repository's self-test says so; bin/docs-build.sh --troubleshooting-skeleton prints a skeleton of the missing sections.

Programs on the machine

tools

From fleet doctor.

python3

From fleet doctor.

tmux

From fleet doctor and fleet doctor --machine.

fzf

From fleet doctor.

perl

From fleet doctor.

gh

From fleet doctor.

claude

From fleet doctor and fleet doctor --machine.

codex

From fleet doctor and fleet doctor --machine.

brew

From fleet doctor.

tls

From fleet doctor.

testtmux

From fleet doctor.

Daemons and runtime

node

From fleet doctor.

daemon

From fleet doctor --machine.

child

From fleet doctor --machine.

runtime

From fleet doctor --machine.

update

From fleet doctor.

install

From fleet doctor and fleet doctor --machine.

login-tree

From fleet doctor --machine.

account

From fleet doctor and fleet doctor --machine.

account-pool

From fleet doctor.

cache

From fleet doctor --machine.

helper

From fleet doctor --machine.

ccquota

From fleet doctor --machine.

key

From fleet doctor --machine.

codesign

From fleet doctor --machine.

admin-agent

From fleet doctor --machine.

shell

From fleet doctor --machine.

drill

From fleet doctor --machine.

versions

From fleet doctor --machine.

image

From fleet doctor --machine.

credpool

From fleet doctor --machine.

seats

From fleet doctor.

tenants

From fleet doctor.

trial-limits

From fleet doctor.

rootlog

From fleet doctor.

services

From fleet doctor.

daemons

From fleet doctor.

basesync

From fleet doctor.

cleanup

From fleet doctor.

ledger

From fleet doctor.

collect

From fleet doctor.

state

From fleet doctor.

metrics

From fleet doctor.

ci-runner

From fleet doctor.

Identity and connection with the hub

cert

From fleet doctor.

background

From fleet doctor on a computer used only as a client.

hubauth

From fleet doctor.

hub

From fleet doctor.

hub-sessions

From fleet doctor.

hubids

From fleet doctor.

hub-image

From fleet doctor.

personcert

From fleet doctor.

clients

From fleet doctor.

compute

From fleet doctor.

承载

From fleet doctor. (The row's name means "host": this computer runs sessions.)

可信

From fleet doctor. (The row's name means "trusted".)

能力

From fleet doctor. (The row's name means "capabilities".)

mode

From fleet doctor.

dist

From fleet doctor.

agent

From fleet doctor.

agentdup

From fleet doctor.

From fleet doctor.

releasekey

From fleet doctor.

To inspect the pinned public key, run ~/.claude/fleet/bin/fleet-release-key.sh status. When a different root is endorsed by the pinned key, status succeeds and says the next release fetch will automatically re-pin to that root; no manual trust change is needed. Unknown or revoked chains still fail. Managed logins and logins linked to the machine runtime use /var/db/fleet-node/release.pub; their login pin has no effect. Status does not change any key.

entry

From fleet doctor.

public

From fleet doctor.

onboard

From fleet doctor.

firstrun

From fleet doctor.

fleet

From fleet doctor.

team

From fleet doctor.

Subscriptions and quota

modelcap

From fleet doctor.

cred

From fleet doctor.

上游

From fleet doctor.

credsep

From fleet doctor and fleet doctor --machine.

credsep-all

From fleet doctor.

credsep-logins

From fleet doctor.

credproxy

From fleet doctor.

Sessions

admit

From fleet doctor.

machine

From fleet doctor.

memory

From fleet doctor.

cpu

From fleet doctor.

files

From fleet doctor.

pty

From fleet doctor.

nofile

From fleet doctor.

reap

From fleet doctor.

context

From fleet doctor.

handoff

From fleet doctor.

statusln

From fleet doctor.

mod

From fleet doctor.

hooks

From fleet doctor.

settings

From fleet doctor.

agents

From fleet doctor.

agentcfg

From fleet doctor.

agentdef

From fleet doctor.

commands

From fleet doctor.

skills

From fleet doctor.

plugins

From fleet doctor.

mcp

From fleet doctor.

信任框

From fleet doctor. (The row's name means "trust dialog".)

trust

From fleet doctor.

seed

From fleet doctor.

timing

From fleet doctor.

spawn-time

From fleet doctor.

alerts

From fleet doctor.

epic

From fleet doctor.

socket

From fleet doctor.

tmuxconf

From fleet doctor.

rview

From fleet doctor.

open

From fleet doctor.

laptop

From fleet doctor.

listen

From fleet doctor.

board

From fleet doctor.

Repositories

repos

From fleet doctor.

跟仓库

From fleet doctor. (The row's name means "following the repos".)

分到

From fleet doctor. (The row's name means "assigned".)

repo

From fleet doctor.

main

From fleet doctor.

base

From fleet doctor.

checkout

From fleet doctor.

deploy

From fleet doctor.

deps

From fleet doctor.

overrides

From fleet doctor.

emit

From fleet doctor.

wtroot

From fleet doctor.

This Mac's settings

sleep

From fleet doctor.

spotlight

From fleet doctor.

wallpaper

From fleet doctor (managed Macs only).

siri

From fleet doctor.

icloud

From fleet doctor.

network

From fleet doctor.

launchd

From fleet doctor.

Reports only

gate

From fleet doctor.