The exact words of the curse that the Rakhokalia ghost placed upon Dreamy were:
"May you be doomed to the death-not-death to which you have condemned me, until I live again."
In the aftermath of the battle where Dreamy was cursed, the bones of the responsible Rak were collected up and taken with the Brigade to Golah Novak. When houses had been set up, Kanela and Vreeo set about working out the exact parameters and meaning of the curse.
They already had a pretty shrewd idea that the unravelling would involve making the Rak live again; the key thing was to raise it under controlled conditions by feeding it animals until is had stolen enough life energy to reanimate itself. The main problem appeared to be to prevent it calling its gods to aid it as soon as it was alive. So they key to slaying it appeared to be to kill it almost instantly, by surrounding it with a dozen brothers with full sorcerous and divine blessing armed with pearl-tipped arrows and protected by mother-of-pearl inlaid shields. When you had managed to get enough pearl and nacre from the Pemburu fishermen, you timed the feeding of the animals so the Rak would reanimate at dawn.
So it did, and the troops were successful in slaying it in a hail of arrows.
Vreeo and Kanela checked the curse. Still there, just deferred. Now Dreamy could live and die and pass once through the wheel, but then the curse would kick in again. Dreamy claimed that this would give her two lifetimes and made her as safe as any member of the brigade and insisted on being given active duty. The Captain reluctantly agreed. Some months later she was named as the first Enviable Lieutenant and took over as Annalist.
However, a longer-term solution was needed. Several solutions were suggested: imprisoning the Rak forever alive would probably let Dreamy off but wouldnt actually remove the curse. Trying to get rid of the curse by brute force sorcery seemed unlikely to be feasible. Raising the Rak dozens of times would have put the problem off a lot further, but you didnt have that many animals. Clearly a more sophisticated unwinding of the curse was required. Ideally, with knowledge of its true name it might have been possible to unwind the curse letter by letter. But no-one could think of a way to get hold of the Raks true name.
The solution finally adopted revolved around the actual statement of the curse rather than the condition for its removal. If the Rak were no longer dead-not-dead, the curse would dissolve. So the Rak needed to be obliterated, eradicated, totally destroyed.
It seemed to be possible to destroy the Raks- after all, not all of the skeletons had had ghosts associated with them. What was it that had exterminated those other Raks? The answer was... other, more powerful Raks.
So the plan was to find another Rak skeleton with associated ghost from the opposing forces, raise the two Raks together and make sure that the second Rak beat the first whilst still not summoning any gods and then killing the second Rak. Easy. Easy-ish. Alright, pretty difficult, but not impossible.
So in one of the "I was really busy" gaps in the Annals, Dreamy, Putera, Stutter, Kanela and two dozen brothers went on a lightning raid into the Hutan Mata to find an enemy Rak ghost and bring it back to life to fight the original one.
The plan was successful although not without cost- although no brothers were killed, several were seriously injured and many of the pearl and mother-of-pearl items were shattered or destroyed by the ghosts. The group had to flee the Hutan Mata with ghosts hounding their every footstep.