Skip to content

Add artifact validation to steps #26

@Neokil

Description

@Neokil

Problem

When we define a workflow step we are usually also defining a prompt that should generate some kind of artifact that can then be used for the next step.

Solution

Add some configuration for input and output artifacts for a step.
For example our implementation step might an investigation artifact and a fetch-ticket-data artifact. And those might need to contain specific sections or have a specific format.
Also the output artifact should be defined, in this case the implementation.md with required sections and or format.
Those input/output validation should be run automatically. If the input validation fails the user should be prompted with the error message, so he can fix it manually. If the output validation fails the provider should be called with the specific error message so it can fix it. There should be no loop, just give the provider one change to fix its issue, if it persists show the error to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions