Skip to content

Epic: workflow self-healing and fix suggestions on dead-end #2100

Description

@graycyrus

Summary

src/workflows/judge.rs already computes SufficiencyVerdict::Escalate { gap } when a workflow step's output looks insufficient, but gap is only a coarse 3-value category (Information/Infrastructure/Transient) and nothing downstream builds an actual suggested fix — it's used only to decide park-vs-fail.

Depends on #2008 landing first (tracked in the Workflow Pause & Resume epic, #1860) — suggesting a fix on top of an unreliable resume path is building on sand.

Plan

  • Expand Escalate{gap} into a structured, explainable gap description
  • Suggestion engine: propose an edited workflow covering the missed case
  • Surface suggestions in the console (accept / edit / dismiss)

Part of

September 2026 roadmap. Blocked on #2008.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicEpic — parent issue tracking a major feature or initiativepriority: p3Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect.roadmapHigh-level, month-spanning roadmap item — not day-to-day workroadmap:2026-09Active in the September 2026 roadmap

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions