Operations and recovery
On narrow screens, swipe tables horizontally to see every column.
Operate Node Goblin as a host-execution service. Check service health, controller connection, trust, and actual operation evidence separately.
First verification
- Check
sudo node-goblin statusandsudo journalctl -u burrow-host-gateway.service -n 100 --no-pageron the host. - Confirm the controller's current listener configuration and that the chosen port is reachable under your network policy.
- Compare the current pairing code, confirm it locally when required, and approve the matching live request.
- Confirm approved/connected state in BURROW.
- Assign a test agent to a disposable absolute workspace and run a harmless read-only operation.
- Check returned host identity, working directory, exit status, and target/operation IDs. A generic active status alone is insufficient.
Protect logs before sharing them. Pairing logs contain pairing codes; process results and filesystem journals can contain private content.
Troubleshooting
| Symptom | Check | Safe next step |
|---|---|---|
| Service will not start | Node path, readable env/state/TLS files, service account, journal JSON | Read service logs; correct the identified configuration problem |
| Service active, no controller connection | Endpoint/DNS/port, outbound network, controller bind interface | Verify both ends; service-active is only local process state |
| Saved host settings have no effect | configure only writes the environment file; connect does not restart an active service | Drain active work, then run sudo node-goblin apply --restart |
| Unpair/uninstall refuses to proceed | Service stop result and reported active state | Resolve the service-state problem; do not manually delete trust/runtime to bypass the check |
| Controller appears disabled | Saved enabled flag and restart | Save desired settings and restart BURROW |
| TLS generation failed | OpenSSL availability and controller secret storage | Supply reviewed TLS material or restore required tooling/storage |
| Certificate/identity mismatch | Current controller key/cert vs host's saved trust | Investigate unexpected change; do not bypass trust checks blindly |
channel_binding_required on a new pairing | Controller and host pairing-protocol compatibility | Update both to compatible channel-binding-capable versions; do not bypass identity checks |
| Pending request cannot be approved | Current node connection/nonce vs persisted pending record | Reconnect and compare the fresh code |
| Gateway already connected | Duplicate gateway ID or cloned state | Stop the unintended duplicate; preserve independent host identities |
gateway_not_connected / gateway_not_ready | Connection and approval state | Establish trusted connection before execution |
gateway_disconnected during work | Host-side operation and journal | Treat outcome as uncertain; inspect before retry |
operation_in_progress | Same operation still running | Wait or request cancellation; do not assign a new ID to force duplicate work |
operation_id_conflict | Changed command/tool/options under reused ID | Correct correlation; use a new ID only for intentionally new work |
protected_redelivery_forbidden | Protected values resent for retained operation | Do not blindly replay one-shot secret delivery |
| Empty/incomplete filesystem results | Bounds, skipped entries, warnings, permissions | Report the searched scope; enlarge only the necessary bounds |
| Version in UI differs from release file | Runtime hello identity vs manifest/VERSION | Verify installed files and release SHA separately |
Find retained operation metadata
Open Archive → MODS → Node Goblin for the controller's retained operation window. Use the Archive date selector (or All dates), a gateway ID, and metadata search; select a record for timing, lifecycle, replay and reconnect hints. The date matches the operation start in your browser's IANA timezone. Load more pages through currently retained matches; Refresh starts the view again. Controller, pairing and assignment configuration stays in Settings.
This is a volatile metadata window, not complete execution history. It retains 256 entries by default, loses entries on controller restart, evicts the oldest-updated entries at capacity, and clears a gateway's entries on revocation. The view contains no commands, paths, output or secrets. An unavailable buffer or no matching retained records does not prove that no operation ran. Use the host journal, process result and current host state when recovering uncertain work.
API clients should keep filters unchanged while following a cursor. Concurrent activity or eviction can change later pages, and mod reactivation invalidates old cursors. Start a fresh query after a cursor error; do not retry execution to recreate a missing history row. See the Archive API contract.
Disconnect and cancellation
For ordinary process/filesystem operations, a TCP/TLS disconnect rejects the controller's pending request, but does not automatically cancel host-side work. The gateway can continue executing and journal a completed result. Reconnection alone does not prove it is safe to repeat side effects.
Service stop/restart is different from a network disconnect. The CLI handles SIGINT/SIGTERM by marking the daemon stopping and requesting cancellation of active operations before stopping transport/telemetry; systemd also owns service-process cleanup. Drain work before applying configuration, updating, or unpairing. Neither a stop request nor an interrupted connection proves a side effect was undone.
A cancel response only says whether an active operation was asked to abort. Wait for terminal evidence and inspect any side effects. For destructive work, use application-level idempotency and independent completion checks.
Upgrade procedure
- Record the currently installed release and controller assignment/trust state.
- Drain work. Use a local terminal or SSH session independent of Node Goblin; the update stops its service and service-owned child processes.
- Make protected backups of configuration and state. Preserve ownership and permissions.
- Review and run the bootstrap with
sudo env NODE_GOBLIN_REPOSITORY=GoblinKing-Burrow/Node-Goblin sh install.sh --update(latest) orsudo env NODE_GOBLIN_REPOSITORY=GoblinKing-Burrow/Node-Goblin sh install.sh --update --version YYYY.MM.DD[.N]using an actual published version. Alternatively extract the selected verified archive and runsudo sh deploy/update.sh. The update validates/stages the replacement, stops the service, installs it, reloads systemd, restarts, and checks active state as one operation. It preserves configuration, identity, trust, and operation journal. First-timeinstall.shbehavior is unchanged. - If installation/restart fails, the updater restores the previous package/deployment assets and attempts to restart the old service; it exits nonzero. If stopping the candidate or restoring assets fails, recovery assets are retained at the path reported in the error. Do not treat a failed update as success. Restart BURROW only if separate mod/controller changes require it.
- Verify authentication, target selection, a harmless process, and a filesystem read in the intended workspace.
- Keep the prior program package until the new version is verified. A code rollback does not automatically roll back external process side effects or storage format changes.
The explicit repository override selects public packages from
GoblinKing-Burrow/Node-Goblin, independently of the bootstrap snapshot's default.
Development packages and public releases are separate. Confirm that the selected
public release contains deploy/update.sh; current source support alone does not
prove that a matching public package has been published.
Node Goblin releases have their own calendar versions and packages. Use the selected Node Goblin release and checksum when upgrading the host; a BURROW upgrade is not evidence that the host runtime changed.
Telemetry and execution evidence
Core Settings can deliver multiple OTLP/HTTP JSON or protobuf trace destinations to compatible connected hosts. Upgrade both the controller mod and gateway for the private per-operation configuration contract. Each destination has separate queues and safe export/rejected-span diagnostics; one failed collector does not block another. Already-admitted operations and later operations from an older run retain that run's original destination snapshot, even after settings are replaced or disabled. Host environment overrides take precedence; check configuration if disabling or changing Core telemetry appears ineffective. Export is bounded and best-effort, so collector failures or dropped spans do not establish whether a host operation ran. Use operation results and journal evidence for recovery, not the presence or absence of a trace alone.
Backup and restore
Back up host config/state and the controller's Core-owned settings/secrets with their required encryption keys. Host node-identity.json contains a private key; HMAC trust contains a secret; operation journals can contain command output or file contents. Encrypt and restrict backup access.
Restore to an isolated host first. Avoid starting two copies of the same identity. Preserve burrow ownership and intended modes. Check endpoint, TLS pins, pairing status, and workspace paths before resuming work.
Journal retention is bounded by time/count and is not an audit archive. The listener activity list is memory-only. Durable correlation does not contain all raw terminal output. If long-term audit retention is required, design it explicitly in the surrounding deployment with privacy controls.
Remove or change trust
Follow the pairing recovery procedure for changed controller trust. Revoke on the controller when the host should no longer be authorized. Unpair on the host when it should forget its controller. These are complementary actions. Verify active operating-system work separately, then re-pair only after comparing a new code.
Uninstall deliberately preserves configuration and state. Secure decommissioning requires a separate reviewed credential/data-retention decision; do not mistake package removal for erasure.
Native Codex minion checks
These checks cover both Codex, Claude and Gemini native minions. Distinguish host capability from Burrow model configuration:
- Confirm the intended Node Goblin target is approved, connected and assigned.
- Confirm the selected Codex or Claude CLI was installed on that execution host and is executable in the gateway service's environment. An interactive shell finding it does not establish the service's
PATH. - Check Burrow's selected native harness and corresponding eligible OpenAI or Anthropic connection separately. Host capability does not prove account authentication.
- Ensure the selected workspace is an existing absolute directory accessible to the service account, and the selected CLI’s state is writable. Claude’s packaged-service HOME/config is under the gateway state directory, not root’s interactive profile.
- After a disconnect or service restart, treat either native CLI process as terminated. Its private transport has no operation-journal replay; inspect the workspace for completed edits before starting replacement work.
Do not diagnose authentication by sending tokens through ordinary process commands, process journals, logs or chat. Keep private app-server/JSONL protocol traffic on the authenticated native transport. A sanitized transport failure alone does not identify whether installation, workspace, process startup or protocol handling failed.
Successful CLI opt-ins are remembered and fetch latest again on subsequent package updates. If Claude provisioning fails, inspect whether its vendor installer or launcher verification failed; do not enable arbitrary dependency scripts as a workaround. A failed package update does not roll back an already upgraded CLI. See installation.
Source references
gateway/deploy/node-goblingateway/deploy/install.shgateway/deploy/uninstall.shgateway/lib/network-transport.mjsgateway/lib/journal.mjs
Controller TLS replacement
Saving replacement TLS credentials or clearing them requires a controller restart.
Clearing credentials causes regeneration when the listener is next enabled; the
certificate fingerprint changes. Existing key-paired hosts pin the DER certificate
and can refuse the replacement. Coordinate the change, verify the new controller
identity independently, and use the verified unpair/re-pair procedure in
pairing. Do not disable validation or delete identity/journal state.
The controller cannot observe a host's saved pin or diagnose a remote pin mismatch
from a disconnect; inspect the host's local controller_tls_identity_mismatch
diagnostic. TLS metadata fingerprints use SHA-256 over DER, not PEM text.
Native Codex/Claude/Gemini sessions no longer have the gateway’s former 30-minute active-session cap. Cancellation and disconnect request process-tree cleanup, with Linux descendant identity tracking and delayed KILL escalation. An RPC acknowledgement alone is not terminal cleanup evidence; verify the actual outcome before retrying side effects. Ordinary successful completion preserves intentional background processes. See private transport and cancellation.
Discover execution hosts for mod minions
The Node Goblin 2026.11.26 Development controller can enumerate its approved execution hosts for compatible Development Core builds. An approved but disconnected host can remain visible as unavailable. Revoked or untrusted hosts are not offered as new targets. Native harness readiness is checked on the selected host; installing the same CLI on Core does not make it available remotely. This controller-side enumeration does not require upgrading or restarting Mini Node Goblin on execution hosts.