package host import "github.com/carlosframework/platform/internal/status" // proofWaitProbe feeds status.Probes.ProofWaits from the agent's proof gate: // the hosts held on their current build until a dev proof arrives, or until // the proof policy file loads. Private Metrics only, because they name hosts. func proofWaitProbe() []status.ProofWait { var out []status.ProofWait for _, w := range agentProofGate().Waits() { out = append(out, status.ProofWait{Host: w.Host, Version: w.Version, SHA256: w.SHA256, Prover: w.Prover, Reason: w.Reason, Since: w.Since}) } return out }