289 I'm assuming is like late 05 early 06 (although I may be wrong as it's not a common revision).
317 is early to late 2006
377 is early to late 2007
Recipe for disaster was released in 2006 so it's in the 317 revision.
Warriors guild same thing
The wilderness ditch was released in 2007 so it's a 377 revision.
There you go