Skip to content

[P1] Share auto-patch logic between verify --fix and generation loop #10

Description

@pro-utkarshM

Problem

Auto-patching exists only in verify --fix. The generation self-healing loop (#2) needs the same fix-application path. Avoid duplicate logic.

Tasks

  • Extract diagnosis→patch application into a reusable function/service (core, not CLI command).
  • Call it from both verify --fix and generator phase 3.
  • Unit test the shared patcher.

Acceptance

Single code path applies fixes; both entrypoints use it.

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

    P1Core feature / high priority

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions