The non-overlap principle. The basic idea, identify the convergent instrumentally useful cognition, and avoid it.
Suppose you ask the AI to cure cancer, and to find a room temperature superconductor. This principle says that there should be 0 overlap between the thought processes used in these 2 ideas. The cancer curing AI should avoid doing any thinking that would be useful in general. Figuring out how to hack it's way out and access the internet is useful in general. Sure, there are things that are generally useful that might be ok actually, like redesigning it's algorithms or building nanotech. But neither of these things are Safe.
A cancer curing AI that's restricted to only thinking about the details of cancer cells is a reasonable balance between safe and useful.
"Don't write code" is a blacklist, and blacklists have the major downside of permitting anything you didn't think of. It's hard to define exactly what you mean by "code", is DNA a kind of code? Is pseudocode instructions that are manually executed by a human "code"?
And training on COT is probably a bad idea. This sort of stuff only works if you can make the AI stop thinking about a topic, not just hide it's thoughts.
1StanislavKrym
I mean, narrow AIs which have no way to, say, hack their way from the lab because they never knew how to write code
I mean an AI that doesn't write code is safer than one that does. But if you set an AI to cure cancer, you probably don't want it thinking about say Volcanology in too much detail. If the AI doesn't find anything, thinking was a waste of compute. And if the AI does find a means of "curing cancer" that involves the details of volcanoes, I expect it won't be a solution I like. You want to make the AI focus on just biochemistry and nothing else.