Files
Assistant/modules/work/ports/graph.go
m 3d30681279
CI / test (push) Successful in 3m1s
CI / test (pull_request) Successful in 2m1s
feat: persist verified graph synthesis runtime
2026-08-23 01:52:39 +03:00

19 lines
525 B
Go

package ports
import (
"context"
"git.cin.su/m/Assistant/contracts/work"
)
type GraphStore interface {
SaveWorkGraph(context.Context, work.WorkGraph) error
LoadWorkGraph(context.Context, string, int64) (work.WorkGraph, error)
SaveDispatchIntent(context.Context, work.AgentDispatchIntent) error
EnqueueDispatch(context.Context, work.AgentDispatchQueueItem) error
}
type GraphResultStore interface {
SaveGraphSynthesis(context.Context, work.ConflictSet, []work.ResultCandidate, work.GraphSynthesisCandidate) error
}