"Devil's Trifecta" is written by Steven D. Binder and directed by Arvin Brown.
In Diane's first episode she came to Gibbs and Fornell for help finding her missing husband, but in this episode the writer wanted to "put her on more even footing - to even make her an equal, if possible.