feat: gate graph synthesis on independent verification
CI / test (push) Successful in 1m8s
CI / test (pull_request) Successful in 1m33s

This commit is contained in:
m
2026-08-23 01:43:35 +03:00
parent 4d9d1b8023
commit 38f8f816d5
5 changed files with 111 additions and 4 deletions
+22
View File
@@ -71,3 +71,25 @@ type ConflictSet struct {
CandidateIDs []string
Resolved bool
}
type GraphSynthesisState string
const GraphSynthesisVerified GraphSynthesisState = "VERIFIED"
// GraphSynthesisCandidate retains every competing result while recording the
// independently verified selection. It is a candidate, not an external action
// or authority grant.
type GraphSynthesisCandidate struct {
ID string
GraphID string
GraphRevision int64
NodeID GraphNodeID
CandidateIDs []string
SelectedCandidateID string
DissentCandidateIDs []string
VerifierRunID AgentRunID
VerifierIdentity string
EvidenceRefs []EvidenceRef
Summary string
State GraphSynthesisState
}