Skip to content

refactor(errors): deslop error classification and reporting - #164244

Merged
steipete merged 2 commits into
mainfrom
deslop/x03-errors-and-messages-20261002
Oct 3, 2026
Merged

steipete merged 2 commits into
mainfrom
deslop/x03-errors-and-messages-20261002

Conversation

@steipete

@steipete steipete commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Several error paths maintain redundant identities, lookup tables and formatting adapters for the same contract.

User Impact

No user-visible change. Messages, error codes, HTTP statuses, CLI exit codes, retry classification and serialized error shapes are preserved. No public plugin SDK changes or dependency changes.

Why This Change Was Made

  • Derive pairing reasons, messages and recovery metadata from one existing table.
  • Keep one constructor table for message-only shared-state worker errors, preserving special constructor arguments and subclass precedence.
  • Share the identical argument-error class across four unclaimed script entrypoints.
  • Replace LINE's duplicate error-message helper with the canonical SDK coercer; simplify MS Teams primitive formatting and Slack identity rejection classification.
  • Remove redundant name-only constructors while retaining their classes, and inline two single-use OpenAI-compatible error adapters.
  • Reuse canonical error-code field readers and consolidate identical transport failure copy.

Measured reduction: 144 production lines plus 9 tooling lines (153 total), with no tests removed or weakened. This is a single BELOW-1000 batch. Larger candidates have distinct classification, redaction, authority, lifecycle or wire contracts; the coverage record below explains retained owners. No bugs or flaky tests were changed. Five benchmark files owned by another active scripts cleanup PR are excluded from this batch.

Evidence

  • Hosted CI passed on cd39f2c62db61e9eb8c91479ac9ed6fa51d71fbc; squash-merged as 5fedfaf0a20177f29ee80c40774bfafa1e06201a. The landed tree matches the reviewed branch merged onto its actual main parent.
  • Independent Codex autoreview: scoped-clean through P2 on the final rebased head, including preservation of the newly landed secret-validation error transport.
  • Final-head focused proof: 21 files, 574 tests across 10 Vitest shards passed (687.39 seconds), covering worker error round trips, the new secret-metadata worker validation error, pairing details, retry/message formatting, script argument/exit behavior, LINE/Teams/Slack and all three OpenAI-compatible HTTP endpoints.
  • node scripts/run-vitest.mjs src/plugins/contracts: 48 files, 1,132 tests passed again on the final head (902.35 seconds).
  • node --import ./scripts/tsx.mjs scripts/check-madge-import-cycles.ts: 0 cycles.
  • node --import ./scripts/tsx.mjs scripts/check-import-cycles.ts: 0 runtime value cycles.
  • Changed-file gate plan completed before the final rebase: all core/test/extension/script typechecks, lint, ratchets, declaration inventory, unused-export scans, plugin boundaries and storage/import guards passed. After dropping the overlapping script edits, affected checks and all remaining planned commands were run to completion. Final focused tests, plugin contracts and both cycle checks were rerun after preserving the newly landed secret-validation transport during the rebase; no guard was waived.

Remote proof was attempted first through the repository wrapper. Blacksmith hydration failed (run), the replacement remained queued, and direct AWS allocation was unavailable. After exceeding the remote wait budget, the authorized local fallback ran serially at nice -n 15; test selection used one worker. No remote run is reported as passing proof.

Error-pattern coverage: complete production-file reads over 200 lines, largest first

This is a repo-wide pattern lane with no exclusive directory subtree. The inventory covers error-named production owners and the formatting/classification/catch candidates discovered by call-site searches. It does not claim every unrelated monorepo file was read. Open cleanup PR files were excluded. Every listed file was read completely.

Baseline lines File Coverage and outcome
3235 scripts/bench-gateway-concurrency.ts READ — Retained: an active scripts cleanup PR now owns this file; the proposed shared argument-error import was dropped.
1304 packages/gateway-client/src/client.ts READ. Normalization at dependency boundaries plus named transport-policy subclass affect error dispatch and retries. Inline ternaries are already direct; retained rather than adding import-only churn.
1282 scripts/dev/realtime-talk-live-smoke.ts READ — Removed duplicate argument-error declaration; preserved truncated/redacted shortError formatting and separate message-only argument failures.
1251 scripts/bench-gateway-restart.ts READ — Retained: an active scripts cleanup PR now owns this file; the proposed shared argument-error reporter was dropped.
1090 scripts/bench-gateway-startup.ts READ — Retained: an active scripts cleanup PR now owns this file; the proposed shared argument-error reporter was dropped.
989 scripts/dev/discord-acp-plain-language-smoke.ts READ — Removed duplicate argument-error declaration; retained the dev-log redactor and bounded response handling.
796 scripts/watch-node.mts READ — Local errorMessage deliberately accepts plain object messages and returns empty string for other values; canonical stringification is not equivalent.
721 src/agents/failover-error.ts READ — Retained provider classification precedence, nested traversal ordering/depth, terminal stops, and actionable reauthentication copy. Generic error traversal has different discovery order and cannot replace these contracts.
713 src/agents/tool-loop-detection.ts READ — Error hash uses stable serialization and original fallback semantics; ordinary error display coercion would change persisted loop identities. Other loop machinery is outside x03.
680 packages/gateway-client/src/protocol-client.ts READ. Error factory/plan catches invoke distinct callbacks, control reconnect, and normalize unknown throws; cannot remove catch layers without changing contracts.
583 packages/gateway-protocol/src/connect-error-details.ts READ. Applied one-owner pairing metadata consolidation: removed redundant reason constant object, separate message map, membership set, and single-use remediation wrapper; reason type and messages derive from metadata. Net -34 production lines.
574 scripts/lib/gateway-bench-runtime.ts READ — Retained: an active scripts cleanup PR now owns this file; its existing argument-error class and callers remain intact.
568 extensions/browser/src/gateway/browser-request.ts READ — Host/proxy failures already share reject; distinct parsing, status, requester authority and tab cleanup contracts prevent collapsing catches. Recent commit also excludes edits.
563 src/agents/bash-tools.exec-approval-followup.ts READ — Local formatter intentionally returns JSON strings for records and unknown error for cyclic serialization; canonical coercers do not have this shape. Catch wrappers own visible session-resume context and fallback authority.
551 packages/ai/src/transports/transport-stream-shared.ts READ. Terminal-error mapping already funnels through projectProviderError; lifecycle catches preserve authoritative failure while cancelling/observing cleanup. No safe in-scope structural deletion found.
549 src/agents/provider-http-errors.ts READ — Existing canonical provider HTTP owner. Timeout wrapper preserves a separately recorded original timeout; body bounds, header credential redaction, and content-type semantics are real contracts.
502 packages/memory-host-sdk/src/host/internal.ts READ. MemorySourceScanError preserves path, code, name and cause; scan wrapper suppresses only known missing files and avoids double wrapping. Retained ownership boundary.
493 scripts/github/guard-shared.mjs READ — Classes separate quota, incomplete diff, read timeout, and uncertain status-publication recovery; bounded response wrapper intentionally rejects oversize bodies instead of truncating.
485 src/infra/package-lifecycle.ts READ — Errno helper requires actual Error identity; general fs-safe errno helper also accepts records. Lifecycle catch layers preserve authoritative uncertainty and cleanup precedence.
470 src/gateway/server-methods/chat-send-dispatch-errors.ts READ — Pre-ack and post-ack failures own different terminal custody, lifecycle persistence, dedupe and visible publication. Catch layers record cleanup failures and preserve authoritative outcomes. Retained.
447 scripts/dev/tui-pty-test-watch.ts READ — Removed duplicate argument-error declaration; retained direct stderr output and process-exit behavior.
441 src/state/openclaw-state-worker-error.ts READ — Retained canonical error graph encoding, strict wire admission, shared references, cycles, and per-caller hydration. Its graph wire shape is distinct from native/cron/plugin-state serializers.
429 scripts/bench-web-fetch.ts READ — Retained: an active scripts cleanup PR now owns this file; its distinct exit-code-2 contract remains local.
427 extensions/raft/src/gateway.ts READ — WakeRequestError carries HTTP status and connection-closure ownership; catches update account status and settle bridge lifecycle. No redundant rethrow.
422 src/gateway/server-methods/users.ts READ — Error mapping already has a profile owner. Narrow catch boundaries and authorization rethrows deliberately differ among operations. Retained.
404 ui/src/components/login-gate-feedback.ts READ — Classification maps different actionable copy, form fields, tones, commands, and server/operator fixes; no equivalent canonical mapping exists.
387 ui/src/pages/custodian/transcript.ts READ — custodianErrorMessage injects the translated fallback at multiple call sites; other catches carry refresh/owner outcomes.
383 src/gateway/server-methods/themes.ts READ — Error responses already use the validated-handler mapper. Message strings and appearance request authority remain distinct contracts. Retained.
382 src/infra/update-failure-report-artifact.ts READ — Errno checks preserve Error-only semantics; caught report failures govern preserved user artifact state and cannot be flattened or removed.
378 scripts/gh-read.ts READ — Error body reader preserves UTF-16 truncation and a trailing truncation marker; shared bounded-response reader intentionally has different byte-limit/throw semantics.
377 packages/mermaid-renderer/src/renderer.ts READ. Empty MermaidTransientError class carries instanceof retry/permanent-cache distinction consumed by native and UI clients. Must retain. Catch disposes frame before rethrowing original error.
368 packages/retry/src/index.ts READ. toRetryError duplicates canonical toErrorObject, but retry is a zero-dependency leaf; adding package coupling for twelve lines is not a clear simplification. Retry backoff/timing outside x03.
361 src/gateway/server-methods/worktrees.ts READ — Snapshot failures, ownership loss and accepted mutations carry different details and outcome semantics. Catch wrappers are not interchangeable. Retained.
358 extensions/telegram/src/network-errors.ts READ — Error graph traversal, provider codes and pre-send retry proof are intentional. Private code/errno extraction could use existing package helper if SDK exposes it; larger mapper collapse changes retry behavior.
354 src/infra/http-body.ts READ — Message/status/response tables are separate projections of one owner, not duplicated owners. Request guards and bounded readers have distinct HTTP lifecycle responsibilities.
351 extensions/discord/src/monitor/provider.deploy-errors.ts READ — Abort timing, rate-limit metadata and rejected-command projections have distinct visible formats; no equivalent canonical formatter.
350 src/state/openclaw-state-worker-error-identity.ts READ — APPLIED: one constructor table replaces message-only identity union members and duplicate identify/parse/create branches. Parameter-bearing identities and constructor subclass precedence remain explicit.
348 extensions/memory-wiki/src/gateway.ts READ — Error mapping already centralized; request wrapper owns current-authority and retirement, so cannot remove it.
346 src/gateway/ws-log.ts READ — Logging deliberately includes names, codes, bounded cause depth, log-mode redaction and clipping; infra formatErrorMessage differs. Retained.
342 packages/normalization-core/src/error-coercion.ts READ. Canonical helpers intentionally differ on strings, structured causes, hostile access, redaction and aggregates. No semantics-preserving merger among these contracts.
338 src/gateway/http-utils.ts READ — Named exceptions distinguish agent selection, model validation and reserved session contexts. Exported guards and requester authorization require those distinctions. Retained.
335 src/daemon/launchd-system.ts READ — Local formatter sanitizes and truncates to exactly 500 UTF-16 units. Ownership classes carry real name/code/ownership contracts; shell/native probe differences remain.
325 src/agents/embedded-agent-helpers/error-text.ts READ — Retained ordered provider/storage/billing/transport copy and redaction policy. Already delegates canonical raw-message and failover owners.
320 src/shared/assistant-error-format.ts READ — APPLIED: combine trailing DNS/unreachable/generic transport entries with identical text and share one connection-failure copy constant. Refused-before-reset-before-other precedence remains.
320 ui/src/pages/model-providers/config-mutation.ts READ — Error helper owns translated fallback; catch paths preserve current-client/agent authority and acknowledged write versus refresh-warning outcomes.
317 extensions/voice-call/src/cli-gateway-call.ts READ — Gateway transport/auth failures deliberately suppress local fallback and provide different next actions. Catch adapter is meaningful.
314 src/daemon/systemd-system.ts READ — Same bounded daemon diagnostic semantics as launchd; new cross-platform abstraction would exceed the small local duplication. Ownership and native query differences remain.
311 extensions/discord/src/monitor/thread-bindings.discord-api.ts READ — summarizeDiscordError intentionally excludes object/null/function details; generic formatter is not equivalent. Status/code helpers accept Discord SDK wrapper shapes.
309 extensions/buzz/src/gateway.ts READ — Catch retains fatal error through bus retirement and reconnect; errors already arrive typed from bus callbacks.
306 packages/gateway-client/src/pending-request.ts READ. Error normalization is a direct expression; catches own request retirement, cleanup, timing and rejection. No no-op rethrow layer.
303 src/gateway/http-common.ts READ — HTTP failures protect committed headers and transport teardown; error classes retain abort-reason names. No generic response substitution preserves the full lifecycle. Retained.
302 apps/shared/OpenClawKit/Sources/OpenClawKit/GatewayErrors.swift READ. Public errors carry wire details, retry/reconnect policy, protocol mismatch and missing-scope fallback; localized descriptions differ intentionally. No compatible consolidation identified.
301 src/agents/bash-tools.exec-script-preflight.ts READ — Local errno conversion accepts any present code through String, unlike canonical extractErrorCode. Retained to preserve behavior; shell parsing/security logic is outside x03.
299 extensions/msteams/src/errors.ts READ — Applied primitive-format branch consolidation (-9). Symbol/function formats and unknown-object fallback are unique and retained; send classifier distinguishes replay-safe rejection from ambiguous delivery.
297 src/auto-reply/reply/agent-runner-error-handler.ts READ — Already consumes canonical failover facts/copy. Catch handling owns retry/abort/model-patch settlement and visible-delivery state, so no safe catch removal.
295 packages/agent-core/src/harness/compaction/branch-summarization.ts READ. BranchSummaryError name/code contract differs from CompactionError. Completion/empty-summary mapping has branch-specific text; reusable helper would require extra policy options for no meaningful simplification.
294 src/gateway/server-in-process-dispatch.ts READ — Normalization preserves request causes, correlated payloads, post-acceptance errors, deadlines and entry release. Catch layers perform real cleanup. Retained.
291 packages/markdown-core/src/frontmatter.ts READ. YAML_EXCEPTION message is one direct normalization expression; other parser fallbacks are distinct recovery behavior.
291 src/agents/embedded-agent-runner/run/tool-error-warning.ts READ — Message assembly retains exact tool/exec/Markdown context and priority. Helper layers each interpret different source representation; no equivalent canonical helper found.
284 src/cli/failure-output.ts READ — Canonical root CLI renderer; expected errors, debug-cause gating, update diagnostics, and refusal recovery messages carry separate contracts. No duplicate-owner deletion.
273 extensions/codex/src/app-server/usage-limit-error.ts READ — Native HTTP status and usage-exhaustion errors differ; rate-limit freshness and profile trust constrain cooldown publication. No generic formatter replacement; no Codex code changed.
272 src/gateway/server-methods/web-search.ts READ — Sanitized provider copy, authority changes and test result envelopes are separate failure contracts. Retained.
268 packages/gateway-protocol/src/gateway-error-details.ts READ. Structured readers deliberately preserve different acceptance/normalization contracts; shared schemas depend on these leaf error declarations. No new generic reader or schema cycle introduced.
263 src/config/io.clobber-snapshot.ts READ — Retained Error-only errno adapter; fs-safe would additionally accept object-shaped errors. Snapshot/control-flow code outside x03.
242 src/agents/tool-result-error.ts READ — Hostile getter handling, WeakSet provenance, status precedence, and external-content protection are real contracts. Broad canonical formatters cannot replace them unchanged.
241 src/provider-runtime/operation-retry.ts READ — APPLIED: delete one local error-code reader and use canonical object/string-field coercion at its sole call. Array, null, nonobject, and nonstring behavior is identical.
234 extensions/browser/src/browser/errors.ts READ — BrowserError subclasses carry status, stable error names, metadata, fixed messages and retry classes; collapsing into plain Error breaks exposed shapes or instanceof policy.
230 extensions/workboard/src/gateway-helpers.ts READ — Already one responder for uploads-disabled, conflict/current-card and generic errors; handlers own authority and result redaction.
227 extensions/discord/src/internal/rest-errors.ts READ — Error constructor owns bounded structured redaction, collision-safe keys and numeric classifier metadata; RateLimitError adds retry facts.
221 src/gateway/server-methods/sessions-groups.ts READ — Group input failures, missing records and authorization changes map differently; finally notifications preserve partially committed sweeps. Retained.
218 scripts/bench-model.ts READ — Applied: removed the duplicate argument-error class and imported the shared class; the original message/stack/exit reporter remains local.
217 src/infra/diagnostic-error-metadata.ts READ — Own-data-property-only extraction intentionally avoids userland getters; canonical traversal does not share that contract. Failure kind and hashed request IDs retained.
212 extensions/diagnostics-otel/src/service-exporter.ts READ — formatError includes stack and JSON fallback; telemetry category/code/graph extraction have different contracts than generic display formatting.
206 src/agents/command/lifecycle.ts READ — Error formatting preserves stale-install guidance and diagnostic attachments. Lifecycle closures own distinct finishing/terminal metadata and cannot be removed as pass-through wrappers.
204 src/agents/embedded-agent-error-observation.ts READ — Bounded fingerprints, mandatory diagnostic redaction, and API-to-text observation field projection are intentional; canonical plain coercion differs.

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added channel: line Channel integration: line channel: msteams Channel integration: msteams channel: slack Channel integration: slack app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts agents Agent runtime and tooling size: M labels Oct 3, 2026
@steipete
steipete enabled auto-merge (squash) October 3, 2026 10:17
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 3, 2026, 6:26 AM ET / 10:26 UTC (Revision 2).

ClawSweeper review

What this changes

The branch consolidates error classification tables, formatting helpers, and script argument-error classes while preserving existing responses and retry behavior.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open as useful cleanup with no supported blocking finding. The earlier upgrade-proof concern does not apply: the introduced changes preserve stored payloads and error identities.

Priority: P3
Reviewed head: cd39f2c62db61e9eb8c91479ac9ed6fa51d71fbc

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, bounded cleanup with substantial reported validation and no supported blocking finding.
Proof confidence 🌊 off-meta tidepool Not applicable: Verified repository admin authorship exempts this internal refactor from external-contributor runtime proof. Reported tests cover the changed error owners but are supplemental validation; no material authority change or stored-data contract change requires an additional proof gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Verified repository admin authorship exempts this internal refactor from external-contributor runtime proof. Reported tests cover the changed error owners but are supplemental validation; no material authority change or stored-data contract change requires an additional proof gate.
Evidence reviewed 9 items Pinned introduced changes: Read the complete merge-base-to-head patch. The changes consolidate existing contracts; the assertion baseline only decreases existing counts, and no dependencies, permissions, schemas, or public SDK exports change.
LINE storage compatibility: The migration changes three error-formatting calls. The canonical coercer has the same Error-message-or-String implementation as the removed helper. Queue identities, payload version, recovery signatures, ordering, and mutation operations remain unchanged, so the previous migration-proof blocker is unsupported.
Canonical formatter equivalence: coerceErrorMessage returns value.message for Error instances and String(value) otherwise, exactly matching the removed LINE helper.
Findings None None.
Security None None.

How this fits together

OpenClaw’s error helpers translate failures from providers, channels, scripts, and database workers into typed errors, retry decisions, HTTP responses, and user-facing messages.

flowchart TD
  A[Provider and channel failures] --> C[Error classification]
  B[Database worker failures] --> D[Error identity transport]
  D --> C
  C --> E[Retry decisions]
  C --> F[HTTP and chat messages]
  G[Script argument failures] --> H[CLI error output]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source -144, Other -9. Total -153 across 24 files.

View PR surface stats
Area Files Added Removed Net
Source 18 124 268 -144
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 6 10 19 -9
Total 24 134 287 -153

Review metrics

None.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/line/src/webhook-spool-migration.ts, migration/backfill/repair: packages/gateway-protocol/src/connect-error-details.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Retain the existing error contracts while consolidating their duplicate representations through the current owners.

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

Not applicable: this PR proposes behavior-preserving cleanup rather than a reported runtime defect; this read-only review did not execute tests.

Is this the best way to solve the issue?

Yes: reusing existing coercers and consolidating identical classification branches is a bounded simplification, and source inspection supports preservation of the relevant contracts.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against cc1a29734ab3.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is internal cleanup preserving existing behavior, with no supported urgent defect.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Verified repository admin authorship exempts this internal refactor from external-contributor runtime proof. Reported tests cover the changed error owners but are supplemental validation; no material authority change or stored-data contract change requires an additional proof gate.

Evidence

What I checked:

  • Pinned introduced changes: Read the complete merge-base-to-head patch. The changes consolidate existing contracts; the assertion baseline only decreases existing counts, and no dependencies, permissions, schemas, or public SDK exports change. (cd39f2c62db6)
  • LINE storage compatibility: The migration changes three error-formatting calls. The canonical coercer has the same Error-message-or-String implementation as the removed helper. Queue identities, payload version, recovery signatures, ordering, and mutation operations remain unchanged, so the previous migration-proof blocker is unsupported. (extensions/line/src/webhook-spool-migration.ts:113, cd39f2c62db6)
  • Canonical formatter equivalence: coerceErrorMessage returns value.message for Error instances and String(value) otherwise, exactly matching the removed LINE helper. (packages/normalization-core/src/error-coercion.ts:241, cd39f2c62db6)
  • Worker error contract: The constructor table retains all nine message-only tags and constructors. Parameter-bearing ownership subclasses still precede their parent, and newer-schema precedes generic maintenance. The unchanged graph owner retains version 1, strict admission, cause graphs, and per-caller hydration; this is runtime transport rather than a new persisted model. (src/state/openclaw-state-worker-error-identity.ts:43, cd39f2c62db6)
  • Current-main necessity: Fetched main still uses the local LINE errorText helper. Its worker identity owner also retains separate classification branches, so the central consolidation remains distinct work. No verified merged replacement was established. (extensions/line/src/webhook-spool-migration.ts:112, cc1a29734ab3)
  • Complete captured body inspected: Read the full body through GitHub and verified that its SHA-256 matches the captured snapshot, 9e09f8b65cded9b34c9fe2a9422bcae741bcf254009c53a639c14fa5c2540117, at 20,477 UTF-16 units. It reports final-head focused and plugin-contract tests; these are contributor-reported validation, not tests executed by this review. (cd39f2c62db6)

Likely related people:

  • Peter Steinberger: Raw commit 31806d8 adds src/state/openclaw-state-worker-error-identity.ts:88 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 31806d84f3bb; files: src/state/openclaw-state-worker-error-identity.ts)

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 (1 earlier review cycle)
  • reviewed 2026-10-03T10:20:41.283Z sha cd39f2c :: blocked before merge. :: none

@steipete
steipete merged commit 5fedfaf into main Oct 3, 2026
175 of 181 checks passed
@steipete
steipete deleted the deslop/x03-errors-and-messages-20261002 branch October 3, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: line Channel integration: line channel: msteams Channel integration: msteams channel: slack Channel integration: slack gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M 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