update-team-server
Update Team server
Update the operator-configured Team server through the canonical release deployer under explicit per-deployment approval. A Peter-instructed update authorizes execution through that owner; Night Watch coordinates restart timing and receives every deploy/restart notification, but is not an approval gate for that update. Keep unattended deployment disabled. This repository operator skill bundles the interim deployment controller; it is not a runtime skill. The native openclaw update path will replace the controller after its migration, recovery, and acceptance contracts are proven and adopted.
Canonical deployer owns live updates
Only the canonical release deployer owns deployment, restart, cutover, rollback,
and recovery. Peter-instructed updates run through that owner. Night Watch on
stable.openclaw.ai is notified of every deploy/restart, coordinates restart
timing, and records the verified outcome in the same coordinator session; its
acknowledgment is not an additional approval or execution gate for a
Peter-instructed update. Resolve the exact coordinator session and deployment
host from the private operator record; a matching display name or access alone
is not authority. Keep unattended deployment disabled. Never edit Team live
state outside the deployer/owner, invoke direct restarts, or create another
deployer. Existing per-deployment approval persists through the same scoped
update and recovery.
Other workers may investigate, test, review, and land scoped fixes in isolated
worktrees. Repair or landing authority does not authorize a fresh deployment.
The requester retains coordination and follow-through through native acceptance;
an acknowledgment or landed repair is not acceptance.
If a live operation is already running, reconcile that exact transaction through
the existing owner's supported coordination/recovery path. Preserve invocation
identity, phase, lock, journal, maintenance authority, and receipts; check whether
writers or children remain active before resuming. Never launch a duplicate
controller, reassign authority by editing records, blindly kill an operation, or
bypass a denial. If safe continuation is unavailable, report the concrete blocker
privately and keep the request open without unauthorized live actions.
Resolve the owner
Install or adopt the bundled controller
Use the four-file closure in controller/README.md from one reviewed, merged OpenClaw commit. Never stage a private operations checkout on the deployment host. The README owns the install paths, modes, required private operator profile, source hashes, standalone tests, and detailed adoption contract.
Night Watch alone performs adoption in its coordinated window: settle every old controller reader and any transaction through its current owner; bind installed hashes and current runtime facts; acquire the existing deployment lock without replacing its inode; recheck those facts; preserve and fsync predecessor files and metadata; stage and publish the complete reviewed pair with its matching helpers and operator profile; verify the full closure and unchanged runtime facts before releasing the lock. Never expose a mixed pair to a reader. An unresolved journal requires the matching recovery owner and a reviewed phase-specific adoption, not a generic reinstall. Controller publication itself does not restart the Gateway, enable a timer, or authorize a deployment. Retain the old recovery closure while any transaction references it.
Reconcile a deployment request
Use the operator-provided private deployment runbook to establish the designated owner, access, canonical command, sole configured cadence, and recovery contract. Reuse known unchanged access, runbook, and source context; do not reread historical registries or rediscover the deployment setup each turn. Reconcile only the current owner, active invocation, lock, and journal before proceeding. Never guess access or copy private connection details, credentials, state, or receipts into public output.
For an approved request, complete that concise reconciliation and promptly invoke the canonical updater through its owner when idle, notifying Night Watch and coordinating restart timing without making its acknowledgment an extra gate. The updater owns validation, migrations, and acceptance; do not add agent-side preflight or postflight checks that repeat its work. Investigate only a concrete native failure, a missing or ambiguous receipt, contradictory current evidence, or an actual ownership conflict. Inspect the relevant source or runbook when resolving that specific gap, not as a routine prerequisite.
This skill does not install a migration phase. Missing access or a safe capability is a concrete blocker: repair through the existing owner within authority, or report what remains unavailable. Never invent success or bypass a denial. Qualify suspected issues against the actual failing path before treating them as defects. Improve this updater guidance when confirmed issues expose a durable gap, and repair confirmed defects within the authorized update scope. Use isolated worktrees and subagents where useful; test and review repairs, then land them through normal CI, PR review, and scripts/pr landing without bypassing branch protection. Keep ownership through verified update acceptance; landed repairs alone do not complete the update. Do not delay an otherwise safe prepared update for unrelated repairs.
Deploy through one owner
- Preserve the operator-configured sole cadence and its intended state. A retired host timer may intentionally remain disabled when an authorized Gateway job owns the schedule. Never enable a legacy timer, pause the active cadence for proof
