Is “Nine campaigns against the Central Plains and feigned surrender to restore the state” true?

attested in history

Records of the Three Kingdoms, Book of Shu, Biography of Jiang Wei, records his multiple northern expeditions against Wei, and after the fall of Shu Han, he feigned surrender to Zhong Hui to plot restoration, but the plot failed and he was killed.

Jiang Wei

In official history, he was a loyal and diligent general of the Shu Han dynasty, known for his military acumen; in the novel, he is nearly deified as the inheritor of Zhuge Liang's legacy.

Other claims about Jiang Wei