-
Notifications
You must be signed in to change notification settings - Fork 1
Operations Runbook
Use this page when WorkerBee is already installed and you need to operate, inspect, restart, or clean up a local environment.
workerbee doctor
workerbee mcp status
workerbee projects
workerbee ingress status
workerbee trust statusFor machine-readable detail:
workerbee mcp status --json
workerbee ingress status --jsonThe MCP status output includes the global dashboard URL, dashboard CA download URL, CA export/trust commands, LAN CA download URL when applicable, DNS listen information when DNS is enabled, running state, and state root.
Use restart when changing ingress exposure, domain, bind address, CA port, DNS mode, DNS bind address, DNS port, DNS answer, or other daemon options:
workerbee mcp restartAfter rebuilding WorkerBee packages or the local k1s runtime wheelhouse, stop the old daemon before reinstalling and refresh sudo before startup:
workerbee mcp stop
scripts/build_wheelhouse.sh --k1s-root ../k1s --out dist/workerbee-wheelhouse
uv pip install --python .venv -e '.[dev]' --find-links dist/workerbee-wheelhouse --force-reinstall
sudo -v && workerbee mcp startUse this rebuild sequence instead of plain mcp restart when the installed code
or runtime wheelhouse changed.
For LAN ingress:
workerbee mcp restart --ingress-exposure lanFor LAN ingress plus WorkerBee DNS:
workerbee mcp restart --ingress-exposure lan --ingress-dns forwardingList all known projects:
workerbee projectsPersist start mode:
workerbee project mode startStop without purge:
workerbee stopReset project workloads and generated artifacts:
workerbee resetThe global dashboard can also start, stop, delete, or inspect projects. Row actions target only that row. Selected actions require checked projects. All actions intentionally ignore the current checkbox selection. Delete means stop, purge project runtime/state, unregister the project from the global dashboard, and resync Caddy imports.
Inspect stale resources:
workerbee cleanupExecute cleanup:
workerbee cleanup --executeRemove images too:
workerbee cleanup --execute --purge-imagesAvoid deleting runtime resources manually unless the cleanup output identifies a gap. WorkerBee labels its resources for targeted cleanup.
Export the active Caddy CA:
workerbee ingress ca --output workerbee-ca.crtDownload the active Caddy CA from the global dashboard:
https://dashboard.workerbee.localhost:19443/workerbee-ca.crt
https://dashboard.workerbee.localhost:19443/workerbee-ca.sha256
The dashboard CA URL is available in loopback and LAN modes. The separate plain HTTP LAN CA URL is only published when LAN ingress is explicitly enabled, and is intended for other devices that cannot yet trust WorkerBee HTTPS.
Install host system trust:
workerbee trust install --target systemInstall browser NSS trust:
workerbee trust install --target nssRemove trust:
workerbee trust uninstall --target system
workerbee trust uninstall --target nssWorkerBee does not install trust automatically. This keeps local HTTPS development explicit and reversible.
Project app logs:
workerbee logs api --tail 100
workerbee logs frontend --tail 100Bounded exec:
workerbee exec api -- sh -c 'id && pwd && env | sort'Global status:
workerbee global-dashboard
workerbee ingress status --jsonAgents should prefer MCP tools for runtime behavior:
workerbee_v1_session_startworkerbee_v1_projectsworkerbee_v1_project_statusworkerbee_v1_ingress_statusworkerbee_v1_ingress_probeworkerbee_v1_logsworkerbee_v1_execworkerbee_v1_cleanupworkerbee_v1_trust_status
Use local shell commands for repo edits and ordinary unit tests. Use WorkerBee MCP for image builds, manifest staging, deploy, runtime probes, security review, and dashboard URLs.