Before you begin
Install F[no] through the quickstart. Use thet-docs-example worker from Run a fleet, or a worker that you own. Do not stop other workers to test these steps.
The CLI reference lists the commands.
Inspect first
What the agent runs
Run these two commands in a terminal. Neither of them changes the worker.Attach to a live worker
What the agent runs
Resume a stopped worker
What the agent runs
fno agents session list. The row reads reachable again.
The older spelling fno agents attach still works. The new spelling is fno agents session attach.
Warning: Do not delete a worktree or overwrite its files to make resume work. Save unfinished changes first. If you delete them, you lose the worker’s commits.
Stop a worker
What the agent runs
stopped: t-docs-example (<SHORT_ID>). The row then reads orphaned.
Stopping a process does not complete its task. If the work is unfinished, keep its branch and worktree. A stopped worker can still take mail on some harnesses.
stop refuses a pane worker. To end a pane worker, kill its pane, and then remove its row. The refusal prints both steps, with the older spelling fno agents rm:
Remove a worker
What the agent runs
To clean up your practice worker, remove it:thread worker: run fno agents session stop on it, and then remove it.
This is real output, with the session ID masked:
fno agents adopt line. Save the session ID before you close the terminal.
rm --force also removes a live row. Do not use it on a worker that holds work you need.
Understand automatic retirement
In F[no] 0.4.6, the daemon retires quiet session rows by default. A retired row leaves the registry and the mux. Its transcript stays available. Retirement does not mean that its task succeeded. The idle clock uses the transcript’s last change. If no transcript age is available, it uses the last report or creation time. These windows apply before the sweep checks whether it can retire the row:
A completed promise or finished evaluation uses the retirement grace, which defaults to 15 minutes. A stopped session uses the same idle policy. A stopped session in the 24-hour category can retire after 24 quiet hours. Spawned sessions can retire sooner.
A keep mark, a lead role, a team, a live work claim, or an open PR the session drives can keep a row. A session you started yourself that never ran an F[no] skill also stays. An unreadable graph or missing age can prevent retirement. The sweep reports the reason.
Check why a row stays
What the agent runs
Keep a row
What the agent runs
The agent identifies the worker withfno agents session list, then uses its exact name or full session ID as <WORKER>:
fno agents adopt <SESSION_ID>. It substitutes that saved ID. Then use resume to continue the session.
Further recovery
If these steps do not bring the worker back, read Get more help. It lists the facts to collect.Next steps
- Message agents: send a follow-up after the worker resumes.
- Troubleshooting: fix a refused launch, a stopped target or red CI.