Koreas reach 'satisfactory' agreement