package agent

import (
	"context"

	"github.com/tidbcloud/AgentTeam/internal/store/agent"
)

// ReviewContextValidator asks the owning daemon to validate review targets and
// read git review summaries. Satisfied by *daemon.Hub.
type ReviewContextValidator interface {
	ValidateAgentOutputTarget(ctx context.Context, machineID string, agentID string, kind string, targetPath string) error
	GetAgentReviewSummary(ctx context.Context, machineID string, agentID string, targetPath string, baseRef string, headRef string, comparisonMode string) (agent.AgentReviewSummary, error)
}
