Implement the initial framework skeleton

This commit is contained in:
2026-05-04 20:14:31 -05:00
parent a7feb0b097
commit c07320f9d0
18 changed files with 1563 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package validate
import (
"context"
"gitea.maximumdirect.net/eric/scriptorium/internal/domain"
)
// Validator validates the generated artifact based on the output contract.
type Validator interface {
Validate(ctx context.Context, artifact *domain.Artifact, contract domain.OutputContract) (domain.ValidationResult, error)
}