Skip to content

Add OpenClaw update incident diagnostics and 2026.4.26 coverage#2

Open
arcabotai wants to merge 2 commits into
mainfrom
claude/2026-04-22-patterns
Open

Add OpenClaw update incident diagnostics and 2026.4.26 coverage#2
arcabotai wants to merge 2 commits into
mainfrom
claude/2026-04-22-patterns

Conversation

@arcabotai
Copy link
Copy Markdown
Owner

@arcabotai arcabotai commented Apr 22, 2026

Summary

Extends the existing OpenClaw update-incident branch with the 2026-04-28 2026.4.26 maintenance findings, while preserving the earlier 2026-04-22 patterns.

Added in this push

  • Detect and safely remove stale bundled plugins.load.paths aliases that point back into .../openclaw/dist/extensions/*.
  • Collect openclaw update status --json in both the CLI and curl diagnostic payloads.
  • Collect config diagnostics for meta.lastTouchedVersion, persisted __OPENCLAW_REDACTED__ placeholders, and bundled plugin load paths.
  • Collect OpenClaw npm install integrity signals so incomplete-npm-install can fire from real payload data.
  • Add ACPX/Codex warm-up timeout detection so short post-update health probe failures are not treated as hard gateway failures while startup logs are still progressing.
  • Add advisory patterns for ACPX permissionMode=approve-all and Codex runtime routing through auto/PI.
  • Update stale paired node guidance to prefer the new openclaw nodes remove --node <id|name|ip> command when available.
  • Bump ClawFix metadata to 0.11.0 and refresh the published curl script hash.

Existing branch coverage

  • redacted-placeholder-corruption
  • incomplete-npm-install
  • config-written-by-newer-version

Validation

  • node --check src/known-issues.js
  • node --check src/routes/diagnose.js
  • node --check src/routes/script.js
  • node --check cli/bin/clawfix.js
  • generated curl diagnostic passes bash -n
  • node cli/bin/clawfix.js --version reports clawfix v0.11.0
  • git diff --check passes

felirami and others added 2 commits April 22, 2026 10:56
Hit two independent failure modes running `openclaw update` on a
production Mac mini (from 2026.4.15 to 2026.4.21). Added three
patterns plus the CLI signals they need.

New known_issues patterns:
  - redacted-placeholder-corruption (critical)
      literal "__OPENCLAW_REDACTED__" persisted as a real value in
      openclaw.json. Observed after the macOS app auto-updated to a
      newer version and rewrote shared config. Blocks `openclaw update`.
  - incomplete-npm-install (high)
      openclaw's node_modules has >1 unmet deps after a bad upstream
      publish (e.g. 2026.4.21 omitted discord-api-types, @buape/carbon,
      @discordjs/opus, opusscript from declared deps). Discord plugin
      can't load. Fix installs missing modules with --no-save into the
      global install.
  - config-written-by-newer-version (medium)
      openclaw.json.meta.lastTouchedVersion > installed CLI version.
      Warns on version drift, usually from macOS app running ahead.

CLI changes (cli/index.js):
  - scanConfigCorruption(): new pre-sanitize scan that flags paths
    holding the "__OPENCLAW_REDACTED__" literal. Must run BEFORE
    sanitizeConfig() because clawfix's own sanitization would replace
    corrupted values on keys named "token"/"apiKey"/etc before the
    signal could be detected.
  - inspectOpenclawInstall(): new helper running `npm ls --prefix
    <openclaw-dir> --depth=0` to count unmet deps. One unmet is
    tolerable (node-llama-cpp is optional); more is a broken install.
  - Added diagnostic.install and diagnostic.configDiagnostics to the
    payload so detect functions can see the new signals.

Version bump: 0.9.0 -> 0.10.0 in cli/package.json, cli/index.js
VERSION const, landing.js JSON metadata, and README detection-list
version marker. Landing-page pricing card updated 40+ -> 45+ (actual
count: 45). README bullet list + landing-page grid got 3 new cards.

Smoke test: node --check on both files passes; synthetic diag
triggers all 3 new patterns with correct severities.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@arcabotai arcabotai changed the title Add 3 diagnostic patterns from the 2026-04-22 update incident Add OpenClaw update incident diagnostics and 2026.4.26 coverage Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants