Skip to content

feat(update): enter built-in triage after failures - #134865

Merged
steipete merged 13 commits into
mainfrom
codex/update-failure-triage
Sep 1, 2026
Merged

steipete merged 13 commits into
mainfrom
codex/update-failure-triage

Conversation

@steipete

@steipete steipete commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Failed CLI, background, managed-service, and web updates lead directly into built-in investigation. The updater retains installation, recovery, and restart authority; diagnostics cannot retry an update or turn a successful recovery check into an update success.

Interactive CLI failures open the existing triage picker after recovery and cleanup. JSON, --yes, and background flows collect diagnostics without automatically starting an agent. Original exit codes and JSON stdout remain authoritative. Web failures open Ask OpenClaw with the recorded cause and an investigation-first prompt; repairs require approval. Unavailable diagnosis preserves the failure and host-side guidance. Cancellation, no-op results, and pending handoffs do not start diagnosis.

Initial argument, external-supervisor/state-store ownership, handoff identity, and immutable-config refusals finish before triage in both update and repair, without diagnostic exports or agents. After admission, metadata/schema/runtime/service failures intentionally receive diagnostics after recovery, including refusal to stop the command’s parent Gateway process. Diagnosis does not stop that Gateway or retry the update. A schema change detected after service stop still requires recovery and diagnosis. Every refusal blocks installation; diagnosis cannot retry or override it. Prepared decisions flow into execution without a mutable admission flag.

Ownership and privacy

  • Failure context: a redacted support export capped at 4 KiB survives private-input cleanup; CLI prompts retain their 8 KiB cap. Saved commands retain installation selectors. Exact artifact paths and recovery commands stay in host output. Helper failures publish recovery facts without temporary log paths; startup OS errors stay local, with status and errno in diagnostic context. Browser output is redacted before line selection and clipping.
  • Attempt identity: one owner retains the expected version/SHA, server record, handoff, profile, and original deadline through lost replies and reloads. Timestamp-only identities remain stable across status changes. Older records cannot erase unresolved failures; newer attempts supersede them. Each applying campaign is adopted once, and repeated applying status preserves later verifier failures while the installation interlock remains active.
  • Diagnostic admission: presentation waits until installation is idle. Dispatch validates the client, operator, scope, and conversation. The latest 32 scoped tab receipts prevent replay; persistence must succeed before automatic dispatch. Storage failure leaves manual guidance. Ordinary drafts survive diagnosis. Known-unsent rollback removes its provisional row and restores consumed input/questions only if their identity remains current; an intentional clear wins. Secrets stay retired.
  • Connection lifecycle: one synchronous scheduler replaces deferred ownership that could start old work after reset returned. Reset, disconnect, and replacement revoke queued work while preserving concurrency, deduplication, and pre-connect queuing.

Lazy English catalogs have one composition owner; cold triage registers fact labels before a Settings visit. No new configuration, environment variable, dependency, database schema, or automatic retry is introduced.

Validation

Head: 40f4e393eebeff704a6499b07207780a6aa3402f; tree b4fd68056550693b19b6f8ae226ed8746459afe1. The full implementation and focused corrections were independently reviewed without accepted actionable P0–P2 findings.

The five-path admission/declaration and one-script changed gates passed at cb5010abb363 and 1836c71d0f84. The current full protocol check passed with unchanged generated outputs. Full exact-head CI passed.

Five refusal regressions failed against the old built runtime; all ten process-state cases now pass, including replay at cb5010abb363. They cover invalid update/repair arguments, external state ownership, and handoff mismatch. SHA-256 snapshots retain full path/type/content comparison. The admission repair also passed 403 owner tests across five files.

A complete runtime/UI build, mandatory tarball integrity check, and fresh npm installation passed at b1d46d9c457e. Archive 99cd340748b87a96149c0fde0a993f2d9ecc2ba9b8b7ed0e008abac5c01f3c68 matched all 11,356 retained installed payloads and 1,613 UI entries. Three real Gateway/WebSocket/browser flows, without RPC mocks, recorded update/diagnostic/status counts of 1/1/12 with inference, 1/0/5 without it, and 1/0/7 with denied storage. Draft/guidance preservation, reload and Gateway-return replay protection, health, credential scans and cleanup passed.

The CI merge exceeded the compiler’s inferred declaration limit. Exact fragment types preserved 867 public keys and representative field types in emitted-declaration proof. The candidate adopts the canonical main annotation and strict registry guard verbatim; duplicate PR-side fixes are removed against that main. Full protocol checks preserve generated Swift/Kotlin outputs. Earlier positive/negative guard and compiler reproductions retain their original source scope.

Fresh managed npm failure proof passed: both lifecycle failures stayed exit 42, updater JSON stayed error/exit 1, and one healthy restart preceded exactly one diagnostic child and prompt. Privacy, durable export reuse, and service/registry cleanup passed. At cb5010abb363, process preparation preserved all 7,532 non-UI JavaScript files; all 6,486 core JavaScript files match the validated package. Complete package-tree equality is not claimed. Unchanged UI/platform proof includes 505 selected tests, the 95-path gate, and eight real npm/channel scenarios.

A real installed CLI refusal exercised the inherited service PID marker matching a live managed Gateway. JSON stayed cli_error/exit 1; one diagnostic collector and zero agents ran. The service and all 11,356 retained package files stayed unchanged. Cleanup passed. This tests inherited service identity, not literal parent-process ancestry. The documentation now explicitly distinguishes this diagnosed operational refusal from read-only initial command admission.

PowerShell 7.4.19 on Linux ARM64 passed 18 real-child argument/input/environment checks. Native Windows shims/Scheduled Tasks and native launchd lack live proof. The maintainer accepts that explicit gap based on Linux managed-helper proof and platform branch tests, which do not establish native service-manager behavior. Deterministic local inference proves transport/lifecycle, not external reasoning.

99 paths against 165d1c0b9a49. Production/build: +2,459/−804, net +1,655 across 50 files; excluding 204 unchanged moved lines: +2,255/−600. Tests/support: +5,292/−656, net +4,636 across 43 files. Docs: +67/−14; baselines: +1/−2; generated manifest: +4/−1. Growth supplies diagnostics and scoped ownership; duplicate projection, catalog and deferred lifecycle paths are removed.

Before: welcome suggestions blocked diagnosis. After: drafts and failure guidance survive. Images show the unchanged UI on an earlier validated package.

Before

After: draft preserved

After: diagnosis unavailable

@clawsweeper

clawsweeper Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui cli CLI command changes scripts Repository scripts commands Command implementations size: XL maintainer Maintainer-authored PR labels Sep 1, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 1:28 PM ET / 17:28 UTC.

ClawSweeper review

What this changes

This PR adds bounded diagnostic triage after operational update failures in the CLI and Control UI while preserving updater recovery and operator admission controls.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: the earlier preflight concern is resolved by the explicit admission-versus-operational-failure boundary, and no concrete introduced functional or security defect was found. Native Windows Scheduled Task and launchd recovery paths still lack after-fix behavior proof.

Priority: P2
Reviewed head: 40f4e393eebeff704a6499b07207780a6aa3402f

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation has coherent ownership and targeted coverage, but native service-manager behavior remains unproven.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
Evidence reviewed 6 items Failure-boundary behavior: Initial argument, supervisor, ownership, handoff, and immutable-config refusals remain outside triage; operational failures after admission enter triage only after recovery and cleanup.
Updater preserves the original failure: The triage wrapper excludes dry runs and child updates, performs diagnostic handling, then preserves a reported update failure's original exit status.
Control UI admission is rechecked at the final send boundary: The UI rejects stale admissions before presentation and rechecks both currentness and admission immediately before submitting the Custodian turn.
Findings None None.
Security None None.

How this fits together

An update attempt passes admission checks, installation and service recovery, then reports its outcome. Operational failures can prepare redacted diagnostics for a CLI handoff or an operator-gated Control UI conversation.

flowchart LR
  A[Update attempt] --> B[Admission checks]
  B --> C[Install and service recovery]
  C --> D[Recorded failure outcome]
  D --> E[CLI diagnostic handoff]
  D --> F[Control UI triage]
  F --> G[Operator-gated Custodian turn]
Loading

Before merge

  • Resolve merge risk (P1) - Native Windows Scheduled Task and launchd update-recovery flows lack after-fix behavior proof; source checks and platform-targeted tests do not demonstrate those native managers.
  • Complete next step (P2) - The remaining need is merge-time platform behavior proof, not a separate repair task.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Production versus test/support delta production/docs/tooling 3,365 changed lines; tests/test-support 5,935 changed lines This broad feature spans update lifecycle, diagnostics, and Control UI, with test/support changes outweighing non-test changes.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/cli/update-cli/update-command-fresh-doctor.ts, migration/backfill/repair: src/commands/triage-prompt.ts, migration/backfill/repair: src/commands/triage-update.ts, migration/backfill/repair: ui/src/i18n/locales/en-update-actions.ts, serialized state: ui/src/app/update-success-notice.ts, unknown-data-model-change: src/cli/update-cli/update-command-fresh-doctor.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Prove native service recovery (recommended)
    Capture redacted after-fix evidence for Windows Scheduled Task and launchd recovery before merge.
  2. Accept the platform-proof gap
    A maintainer may explicitly accept the missing native-manager proof based on the reviewed source and automated coverage.

Technical review

Best possible solution:

Add redacted after-fix traces for native Windows Scheduled Task and launchd recovery, or record explicit maintainer acceptance of that remaining platform-proof gap.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR adds a diagnostic feature rather than reporting a current-main defect.

Is this the best way to solve the issue?

Yes for the reviewed failure boundary: admission refusals remain excluded while post-admission operational failures are diagnosed after recovery; native-platform proof remains incomplete.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 968256ff2965.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is a broad but bounded update and diagnostic-flow enhancement without evidence of an active user-facing regression.
  • merge-risk: 🚨 other: Native service-manager recovery remains unproven by after-fix evidence despite the CLI and Control UI coverage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.

Evidence

What I checked:

  • Failure-boundary behavior: Initial argument, supervisor, ownership, handoff, and immutable-config refusals remain outside triage; operational failures after admission enter triage only after recovery and cleanup. Public docs: docs/cli/update.md. (docs/cli/update.md:42, 40f4e393eebe)
  • Updater preserves the original failure: The triage wrapper excludes dry runs and child updates, performs diagnostic handling, then preserves a reported update failure's original exit status. (src/cli/update-cli/update-command-triage.ts:22, 40f4e393eebe)
  • Control UI admission is rechecked at the final send boundary: The UI rejects stale admissions before presentation and rechecks both currentness and admission immediately before submitting the Custodian turn. (ui/src/pages/custodian/custodian-session-store.ts:245, 40f4e393eebe)
  • Control UI diagnostics are bounded and permission-gated: Failure triage requires the current admission and operator-admin chat capability, then formats and clamps displayed diagnostic facts before presenting them. (ui/src/app/update-triage.runtime.ts:22, 40f4e393eebe)
  • Codex CLI contract: The direct Codex CLI source confirms that literal '-' reads the prompt from stdin, matching the generated codex exec ... - < prompt handoff; its stdin test verifies the exact prompt path. (../codex/codex-rs/exec/src/cli.rs:76)
  • Current-main and patch integrity check: The checkout is clean and the pinned merge-base-to-head diff passes whitespace validation; current main does not contain the new triage modules, so this open PR is not obsolete. (968256ff2965)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Provide redacted after-fix traces for native Windows Scheduled Task and launchd recovery, or document explicit maintainer acceptance of the gap.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (8 earlier review cycles)
  • reviewed 2026-09-01T05:26:16.803Z sha c2a932f :: needs maintainer review before merge. :: none
  • reviewed 2026-09-01T10:13:17.803Z sha f4797dd :: needs maintainer review before merge. :: none
  • reviewed 2026-09-01T10:35:51.402Z sha 34ba77d :: found issues before merge. :: [P1] Suppress automatic triage when its receipt cannot persist
  • reviewed 2026-09-01T14:15:35.481Z sha 3483a8d :: found issues before merge. :: [P2] Keep helper log paths out of agent-bound triage data
  • reviewed 2026-09-01T15:33:34.306Z sha a8e0e9d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-01T16:02:06.791Z sha 3c253f9 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-01T16:36:25.722Z sha b1d46d9 :: found issues before merge. :: [P1] Exclude refused preflight updates from automatic triage
  • reviewed 2026-09-01T17:02:33.619Z sha 1836c71 :: found issues before merge. :: [P1] Exclude gateway-service ownership refusals from triage

@steipete steipete self-assigned this Sep 1, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 1, 2026
@steipete

steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The automatic diagnostic turn for an authorized Control UI operator is the intended, maintainer-approved default for this feature. It receives bounded, redacted failure facts through the existing conversation owner; repair, retry, and restart authority remain separate. Unattended CLI updates collect diagnostics without automatically starting an agent.

The requested after-fix non-git installed proof is now complete and documented in the PR, with screenshots from the verified npm package. Real Gateway/WebSocket traffic showed one failed update and one diagnostic turn, with the ordinary draft preserved and no replay across reload, status checks, and Gateway leave/return. With inference unavailable, the failure and host command stayed visible and no diagnostic turn was sent. Both runs had zero browser errors and unchanged installed payloads.

There is no SQLite schema change or data migration in this PR. The saved failure file is a redacted support export. Browser continuity extends the existing tab notice with bounded scoped receipts; coverage includes existing notices without the new fields. The complete changed-file gate and focused owner/browser suites pass. The final head additionally removes five stale process-test stubs; all ten unchanged output/exit cases now pass, and that test-only repair passed independent review. Hosted CI is running on 34ba77d.

@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 1, 2026
Require persisted diagnostic receipts, retain authoritative attempt identity,
and retire prior failures when a new update campaign starts. Roll back only
known-unsent chat rows and consumed ordinary drafts after transport failure.

Keep connection lifecycle scheduling synchronous by removing the deferred
bootstrap wrapper. Integrate main while preserving composer persistence
and existing stream performance budgets.

Keep artifact paths and installation-specific recovery commands in local
output while persisting bounded diagnostic summaries for restart notices.

Redact captured output before shortening failure details so clipping cannot
remove credential syntax, and retain concrete types in update test fixtures.
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 1, 2026
Keep helper paths local, retain update identity across reloads, and preserve verifier failures while campaigns settle. Admit diagnostics after recovery becomes idle, preserve newer composer drafts, and integrate the canonical Settings catalog.
@clawsweeper clawsweeper Bot removed the status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. label Sep 1, 2026
@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Sep 1, 2026
@steipete

steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Built-in failure diagnosis now follows CLI, background, managed-service, and web failures while the updater retains recovery/restart authority. Read-only admission refusals finish before diagnostics can write state. Browser attempt identity, durable scoped receipts, idle-only presentation, and draft ownership prevent stale or duplicate diagnosis.

Five refusal regressions failed on the old built runtime; all ten process-state tests now pass, including the subsequent replay, alongside 403 owner tests. A fresh full runtime/UI build, integrity check, npm installation, and three real installed browser flows passed. The latest merge-only declaration failure is repaired with exact fragment types: native SDK emit and a consumer of all 867 emitted keys pass; the two type/lint-only runtime edits produce identical module JavaScript. The registry guard now checks exact type/runtime fragment agreement; all four corrupt variants are rejected. Full protocol checks, unchanged Swift/Kotlin outputs, lint, and the script-only review passed.

Fresh managed npm failure proof also passed: lifecycle exits 42, original updater error/exit 1, one healthy restart, exactly one diagnostic child and prompt, redaction, durable export reuse and cleanup. Current process preparation preserved 7,532 non-UI JavaScript files; 6,486 core JavaScript files match the validated package, without claiming complete package-tree equality.

Current head: 1836c71d0f842d780e8eadcbb894c360f6db172d. Admission/declaration five-path gate: PENDING. Registry-script changed gate: PENDING. Exact-head CI: PENDING. Native Windows/launchd live-proof limits remain explicitly accepted by the maintainer; Linux service and PowerShell checks are not presented as native equivalents.

On the new preflight finding: the documented exception is for command admission—arguments, supervisor ownership, handoff identity and immutable-config mode. Those checks run before triage. Failed operational metadata/schema/runtime/service checks after admission intentionally receive diagnostics while still blocking installation. The cited schema test has already stopped the service and verifies recovery, no package install, the original error, then diagnosis. The same reason also covers earlier checks, so excluding the reason would remove useful post-stop diagnosis. We are retaining this intended behavior; diagnostics do not override a guard or retry the update.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 1, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 1, 2026
@steipete

steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Completion proof is recorded for 40f4e393eebeff704a6499b07207780a6aa3402f: full exact-head CI, the inherited changed gates and current full protocol check passed. The full build, installed browser flows and managed npm failure proof belong to b1d46d9c457e; cb5010abb363 has the recorded JavaScript-equivalence and ten-case process replay. Five refusal regressions failed before admission repair; all ten process cases passed afterward, alongside 403 owner cases. The candidate adopts the canonical-main declaration annotation and strict registry guard. No new complete runtime archive is claimed.

The 17:02 UTC review exposed ambiguous supervisor-ownership wording; the docs now explicitly distinguish initial external-supervisor/state-store admission from admitted managed-service diagnosis. The installed inherited-PID refusal proof retained CLI error/exit 1, ran one collector and zero agents, and left the service and 11,356 package files unchanged. This does not prove literal process ancestry. All refusals continue to block installation; diagnosis cannot retry or override them.

Native Windows/launchd live-proof limits remain explicitly accepted; Linux/PowerShell results are not claimed as native equivalents.

@steipete
steipete merged commit eb270a1 into main Sep 1, 2026
305 checks passed
@steipete
steipete deleted the codex/update-failure-triage branch September 1, 2026 17:32
@steipete

steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 2, 2026
* feat(update): enter built-in triage after failures

* test(triage): make command indentation assertion explicit

* test(update): use real helpers in finalization process fixture

* test(google-meet): isolate callback timeout propagation

* fix(update): admit commands before collecting failure diagnostics

* fix(build): preserve named protocol schema declaration types

* fix(build): validate annotated protocol registry composition

* docs(update): clarify diagnosis after service refusals

* fix(build): align protocol registry with main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui cli CLI command changes commands Command implementations docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. plugin: google-meet rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant