package runbook import "time" type RunMeta struct { Target string RiskLevel string RequestID string ConfirmHash string StepTimeoutMs int } func NewMeta() RunMeta { return RunMeta{RiskLevel: "low"} } func (m RunMeta) timeoutOrDefault() time.Duration { ms := m.StepTimeoutMs if ms <= 0 { ms = 45000 } return time.Duration(ms) * time.Millisecond }