GEN2-022: govern self evolution through development gates
CI / test (push) Failing after 27s

This commit is contained in:
m
2026-08-29 11:31:45 +03:00
parent b282038949
commit 96687140ce
4 changed files with 63 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
package domain
import "git.cin.su/m/Assistant/contracts/work"
func PromoteEvolution(c work.EvolutionCandidate, e work.EvolutionEvaluation) bool {
return e.ValidFor(c) && c.ProposalRef != "" && c.RollbackRef != "" && len(c.SandboxEvidenceRefs) > 0 && len(c.BenchmarkEvidenceRefs) > 0
}