openclaw - 💡(How to fix) Fix feat(tasks): normalize blocker and failure taxonomy [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#74095Fetched 2026-04-30 06:28:31
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
cross-referenced ×2commented ×1

Introduce a shared blocker/failure taxonomy for tasks so OpenClaw can distinguish between waiting, blocked, failed, and recoverable transient failure in a machine-readable way.

Root Cause

Introduce a shared blocker/failure taxonomy for tasks so OpenClaw can distinguish between waiting, blocked, failed, and recoverable transient failure in a machine-readable way.

RAW_BUFFERClick to expand / collapse

Summary

Introduce a shared blocker/failure taxonomy for tasks so OpenClaw can distinguish between waiting, blocked, failed, and recoverable transient failure in a machine-readable way.

Problem

Some task states and failure conditions are visible today, but the reason behind a stall or failure is not always normalized.

This limits:

  • retry decisions
  • audit quality
  • user-facing messaging
  • future observability

Without a shared taxonomy, different consumers can treat the same condition differently.

Proposal

Define and adopt a normalized set of blocker/failure classes such as:

Blocker-like classes

  • approval_required
  • external_wait

Failure-like classes

  • tool_runtime_error
  • provider_error
  • transport_error
  • config_error
  • timeout
  • interrupted
  • unknown_failure

Exact naming can be adjusted, but the key is to centralize semantics and reuse them across the task system.

Scope

  • Add shared blocker/failure classification helpers and types
  • Map existing task conditions onto the taxonomy
  • Reuse the taxonomy in:
    • audits
    • summaries
    • user-facing status output
  • Keep unknown/unclassified paths explicit

Acceptance criteria

  • Known blocked/failure conditions map to a shared classification
  • Audits and summaries can refer to the normalized class instead of ad hoc prose
  • The same underlying condition is not represented differently across multiple consumers
  • Future retry logic can branch on classification without bespoke heuristics

extent analysis

TL;DR

Implement a shared blocker/failure taxonomy with standardized classes to enable consistent handling of task states and failure conditions.

Guidance

  • Define a set of blocker-like and failure-like classes, such as those proposed in the issue, to provide a normalized way of categorizing task states and failures.
  • Map existing task conditions onto the new taxonomy to ensure consistency across the task system.
  • Update audits, summaries, and user-facing status output to reuse the taxonomy, reducing ad hoc prose and bespoke heuristics.
  • Ensure that unknown or unclassified paths are explicitly handled to maintain clarity and prevent misinterpretation.

Example

No code snippet is provided as the issue focuses on conceptual changes rather than specific code implementations.

Notes

The proposed solution relies on the adoption of a shared taxonomy, which may require updates to existing code and processes. It is essential to ensure that all stakeholders are aligned with the new taxonomy and its implications.

Recommendation

Apply the proposed workaround by implementing the shared blocker/failure taxonomy, as it provides a foundation for consistent handling of task states and failure conditions, improving retry decisions, audit quality, and user-facing messaging.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix feat(tasks): normalize blocker and failure taxonomy [1 comments, 2 participants]