Internal
internal/app/handoff
Package handoff renders model-facing handoff material from task specs.
import "github.com/nilstate/scafld/v2/internal/app/handoff"
Package handoff renders model-facing handoff material from task specs.
Functions
func Run(ctx context.Context, specs SpecStore, sessions SessionStore, taskID string) (string, error)
Source: internal/app/handoff/handoff.go:24
Run renders the model-facing handoff for taskID.
Types
type SessionStore
Source: internal/app/handoff/handoff.go:19
SessionStore loads session evidence for repair handoffs.
type SessionStore interface {
Load(context.Context, string) (session.Session, error)
}Methods
Load func(context.Context, string) (session.Session, error)
type SpecStore
Source: internal/app/handoff/handoff.go:14
SpecStore is the spec persistence port used by handoff rendering.
type SpecStore interface {
Load(context.Context, string) (spec.Model, string, error)
}Methods
Load func(context.Context, string) (spec.Model, string, error)
