Source reference: services/fleet/docs/commands.md at 41af2124

This is a command reference, not a script to run from top to bottom. The operator or setup agent runs the selected command in a terminal. Replace example names and paths with existing local records; obtain the setup descriptor URL from management rather than writing a descriptor JSON file.

Controller and transport#

fleet setup --descriptor PERSONALIZED_SETUP_JSON_URL
fleet daemon start --name workstation --root /absolute/private/controller
fleet daemon status --root /absolute/private/controller
fleet daemon stop --root /absolute/private/controller
fleet daemon restart --root /absolute/private/controller
fleet --root /absolute/private/controller list
fleet remote add office --ssh operator@office-host --root /absolute/private/controller
fleet --remote office list

Use a private explicit root or the saved local profile. Remote paths belong to the controller host. Status/inspection does not start a controller. Local start/setup may start or reuse the configured controller. Labels and profile names do not authenticate a connection.

Use fleet diagnose [FLEET] or fleet agent diagnose FLEET INSTANCE for a bounded report of all findings. Read-only diagnosis never starts a controller, wakes an agent or refreshes provider login.

Registry and lifecycle#

fleet add /absolute/private/research
fleet list
fleet show research
fleet test research
fleet enroll research
fleet start research
fleet stop research
fleet remove research
fleet agent list research
fleet agent add research analyst-west --definition analyst
fleet agent start research analyst-west
fleet agent stop research analyst-west
fleet agent remove research analyst-west

Add registers explicit configuration; it does not discover directories. Enroll proposes the stopped roster and policies for owner review without enabling execution. Start restores listeners with their saved native histories asleep; eligible input wakes only its target. Stop removes desired activation before closing listeners/native processes. Remove retires or archives the agent after a confirmed stop; files and histories remain.

Start/stop at either scope accept --operation-id UUID for an identical retry after uncertain submission. Conflicting reuse fails. Accepted operation does not mean native completion; inspect its per-instance outcome.

Native histories and reset#

fleet agent contexts research analyst-west
fleet agent attach research analyst-west
fleet agent attach research analyst-west --context 'room/!EXACT_ROOM_ID:example.test'
fleet start research --fresh-history
fleet agent start research analyst-west --fresh-history

Contexts is read-only. Attach prints the exact running native terminal command; it does not start/fork a conversation or launch another listener. Use the exact key from contexts: private histories use shared or control; room histories use room/ followed by the opaque room ID. Pi does not support live TUI attachment.

Fresh history explicitly calls controller reset. Normal start does not. Reset preserves identity, permissions, Matrix data and archived native histories.

Delivery and direct input#

fleet deactivate research
fleet activate research
fleet message research --text 'Review the changed assignment'
fleet message research --message-id YOUR_UUID --text 'Review the changed assignment'

Pause/activate changes delivery, not native identity/history. A direct fleet message does not join rooms, grant wake authority or start explicitly stopped agents. A sleeping active binding can resume. Retry uncertainty with the same UUID and text. Messages expire after ten minutes; native receipts are not model-task completion.

Software update#

After installing an approved exact release, use its new executable:

fleet update research
fleet agent update research analyst-west
fleet daemon restart --root /absolute/private/controller

Remote update requires an already installed absolute release directory:

fleet --remote office update research \
  --release-directory /absolute/private/native-release/fleetd/artifacts

Only previously enabled targets resume. Deliberately stopped targets remain stopped. Remote updates use the installed directory, not an HTTP download.