修史 is actually “compiling history”.
修史局 is History Recording Bureau.
http://www.dictall.com/indu/268/2675923F6BD.htm