Skip to content

UX: the self-healing CLI — AI-driven fix offers on command failure #203

Description

@db-tycoon-stephen

Migrated from the archived repo: Database-Tycoon/localhost-stack#18 (opened 2026-04-04). Original text below; status notes at the end.

The CLI should transition from being a passive executor to an active, intelligent agent. When commands like tycoon data transform run fail, the CLI should proactively offer AI-driven fixes (e.g., "I detected a dbt error. Would you like me to attempt an auto-fix?"). This leverages our existing AI capabilities to fulfill the 'zero-config' mission.


Status notes at migration (2026-08-09)

  • Started work exists on the local branch feature/self-healing-cli (global exception handler + fixer registry foundations), written against the pre-rewrite codebase — treat as design reference, not a mergeable base.
  • Depends on the local-LLM backend question (see the migrated "lighter LLM backend" issue) and should be retriaged against the post-rewrite command architecture ([Project] Ingestion rewrite — Runtime, Destination, MetadataBackend #81).

Mirrored in Jira: PTC-116 (Epic: PTC-5, AI / agent refinements). Dev work continues here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions