MCPcopy Create free account
hub / github.com/compozy/agh / Validate

Method Validate

internal/task/validate.go:885–890  ·  view source on GitHub ↗

Validate reports whether the task execution request is internally consistent.

(path string)

Source from the content-addressed store, hash-verified

883
884// Validate reports whether the task execution request is internally consistent.
885func (r ExecutionRequest) Validate(path string) error {
886 if err := ValidateMetadataSize(r.Metadata, nestedPath(path, "metadata")); err != nil {
887 return err
888 }
889 return nil
890}
891
892// Validate reports whether the claim-run request is internally consistent.
893func (r ClaimRun) Validate(path string) error {

Callers 1

Calls 2

ValidateMetadataSizeFunction · 0.85
nestedPathFunction · 0.70

Tested by

no test coverage detected