OpenClaw Config Operations Runbook
Goal: provide operator-focused procedures for verification, incidents, and recovery.
For first-time usage and feature walkthroughs, start with getting-started.md.
Operational Verification
Run baseline quality gates:
bash
pnpm compile
pnpm test:unit
pnpm test:integrationExpected result:
- Build succeeds.
- Unit and integration tests pass.
Release Preflight (No Publish)
Use this before any public launch decision.
- Install and build gates:
bash
pnpm install --frozen-lockfile
pnpm release:gate
pnpm docs:build
pnpm package:vsix- Verify release artifact exists:
bash
ls -la dist/openclaw-config-vscode-0.1.0.vsix- Verify package payload excludes source and docs content:
bash
unzip -l dist/openclaw-config-vscode-0.1.0.vsix | rg "extension/(src|test|docs|\\.github)/"Expected result: no matches.
- Verify publish prerequisites (without publishing):
bash
node -p "require('./package.json').publisher"
test -n "$VSCE_PAT" && echo "VSCE_PAT set"
test -n "$OVSX_PAT" && echo "OVSX_PAT set"Expected result:
- Publisher is
jorekai. - Both token checks report as set.
- Secret scan preflight (same image profile as CI):
bash
docker run --rm \
-v "$PWD:/repo" \
zricethezav/gitleaks@sha256:691af3c7c5a48b16f187ce3446d5f194838f91238f27270ed36eef6359a574d9 \
detect \
--source=/repo \
--redact \
--verbose \
--report-format=sarif \
--report-path=/repo/gitleaks.sarifExpected result: no leaks found.
For actual publish commands, use release-checklist.md.
Runtime Status Inspection
Primary command:
OpenClaw: Show Schema Status(openclawConfig.showSchemaStatus)
Inspect these output fields:
source(cacheorbundled)manifestUrlopenclawCommitgeneratedAtlastCheckedAtlastSuccessfulSyncAtlastErrorpolicy.manifest.allowedpolicy.manifest.reasonpolicy.artifacts[*].allowedpolicy.artifacts[*].reason
Incident: Live Sync Not Updating
Symptoms:
- Schema appears stale.
- Sync status not changing.
Procedure:
- Run
OpenClaw: Show Schema Status. - Check
lastCheckedAtandttlHoursexpectations. - Force refresh via
OpenClaw: Refresh Schema Now. - Re-check
source,lastSuccessfulSyncAt, andlastError.
Escalation data to capture:
- Full status output block.
- Active sync-related settings values.
Incident: Policy Blocking Manifest/Artifacts
Symptoms:
- Status indicates policy blocked states.
Procedure:
- Confirm
manifestUrluses HTTPS. - Verify host in
openclawConfig.sync.allowedHosts. - Verify repository in
openclawConfig.sync.allowedRepositories. - Re-run
OpenClaw: Refresh Schema Now. - Validate status output again.
Incident: Metadata Hint Ingestion Failure
Symptoms:
- Missing expected dynamic subfield hints.
- Output channel warnings for plugin metadata.
Procedure:
- Validate local metadata path existence and JSON shape.
- Validate remote metadata URL reachability and policy compliance.
- Temporarily disable remote metadata to isolate local layer behavior.
- Trigger refresh and retest completion.
Fallback Behavior Expectations
Fallback order on sync failure:
- Last known good cache artifacts.
- Bundled artifacts in
schemas/live.
If source remains bundled unexpectedly:
- Investigate
lastErrorand policy fields. - Confirm remote endpoint and checksums upstream.
Recovery Verification Checklist
After incident remediation:
- [ ]
OpenClaw: Show Schema Statushas expected policy values. - [ ]
lastErrorisnoneor no longer incident-related. - [ ]
OpenClaw: Refresh Schema Nowcompletes without blocking issues. - [ ] Validation and command workflows work on a sample
openclaw.json.
Related Guides
- Symptom-first troubleshooting:
troubleshooting.md - Settings and policy reference:
configuration.md - Full command behavior:
commands.md