Documentation
¶
Index ¶
- func BuildReportFromSpec(spec *multiagentspec.Team, results map[string][]multiagentspec.TaskResult, ...) *multiagentspec.TeamReport
- func FromValidationReport(vr *checks.ValidationReport, project, target, phase string) *multiagentspec.TeamReport
- func GetValidationSteps(team *multiagentspec.Team) []multiagentspec.Step
- func LoadTeamSpec(dir string) (*multiagentspec.Team, error)
- func PMTeam(version string, roadmapTotal, roadmapCompleted int, ...) multiagentspec.TeamSection
- type Phase
- type StepResultMap
- type TeamConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReportFromSpec ¶
func BuildReportFromSpec(spec *multiagentspec.Team, results map[string][]multiagentspec.TaskResult, project, version string) *multiagentspec.TeamReport
BuildReportFromSpec creates a TeamReport ensuring all steps from the spec are present. Results that don't have corresponding validation data are marked as SKIP.
func FromValidationReport ¶
func FromValidationReport(vr *checks.ValidationReport, project, target, phase string) *multiagentspec.TeamReport
FromValidationReport converts a checks.ValidationReport to a multiagentspec.TeamReport.
func GetValidationSteps ¶
func GetValidationSteps(team *multiagentspec.Team) []multiagentspec.Step
GetValidationSteps returns only the validation steps (excludes execute-release).
func LoadTeamSpec ¶
func LoadTeamSpec(dir string) (*multiagentspec.Team, error)
LoadTeamSpec loads a team.json file from the given directory. Returns a multiagentspec.Team parsed from the JSON file.
func PMTeam ¶
func PMTeam(version string, roadmapTotal, roadmapCompleted int, hasHighlights, hasBreaking, hasDeprecations bool) multiagentspec.TeamSection
PMTeam creates a Product Management validation team section.
Types ¶
type Phase ¶
type Phase struct {
Name string
Steps []multiagentspec.Step
}
Phase represents a workflow phase containing multiple steps.
func GetPhases ¶
func GetPhases(team *multiagentspec.Team) []Phase
GetPhases groups steps into phases based on dependencies. Phase 1 (REVIEW): Steps with no dependencies or only pm-validation dependency Phase 2 (EXECUTE): Steps that depend on validation completion
type StepResultMap ¶
type StepResultMap map[string][]multiagentspec.TaskResult
StepResultMap is a helper to collect task results by step name.
func NewStepResultMap ¶
func NewStepResultMap() StepResultMap
NewStepResultMap creates a new empty step result map.
func (StepResultMap) Add ¶
func (m StepResultMap) Add(stepName string, tasks []multiagentspec.TaskResult)
Add adds task results to a step.
func (StepResultMap) AddTask ¶
func (m StepResultMap) AddTask(stepName string, task multiagentspec.TaskResult)
AddTask adds a single task result to a step.
type TeamConfig ¶
type TeamConfig struct {
Area checks.ValidationArea
ID string
Name string
DependsOn []string
}
TeamConfig maps validation areas to team IDs, names, and DAG dependencies.
func DefaultTeamConfigs ¶
func DefaultTeamConfigs() []TeamConfig
DefaultTeamConfigs returns the default team configurations with DAG dependencies. The DAG structure follows team.json: - pm-validation: no dependencies (runs first) - qa-validation, docs-validation, security-validation: depend on pm-validation (run in parallel) - release-validation: depends on all others (runs last)