Skip to content

Forward precommit hook failures from "Create PR" to the agent #2736

@charlesvien

Description

@charlesvien

Description

When clicking "Create PR", the commit can fail because a precommit hook fails. Right now there is no easy way to act on that failure. The error output is shown but cannot be handed off or copied, so the user is stuck resolving it manually outside the flow.

Proposed solution

Add a button to forward the precommit hook failure output to the agent so it can resolve the issue automatically. At minimum, make the error output copyable so the user can paste it into a new agent message themselves.

Reported by Richard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions