I spotted a few more potential bugs while modding some code. Escorts are only receiving their work stress if they lose their virginity (indent on if clause). Slaves suffering a mental breakdown are only becoming rebellious if they are rebellious (missing not).
Viewing post in USB - Unofficial Strive Bugfix v0.6 - v0.5.23.b
I agree that Escort job stress appears to be wrongly indented. However, on mental breakdown, the captured effect is removed from a slave. "func add_effect(effect, remove = false):" It's confusing because the author reused code in a weird way, but add_effect() is used to add and remove effects.
I have updated the wiki for traits, occupations, and specializations. Though, I didn't bother labeling them as bugs, there are a large number of differences between stated effects and actual effects.