fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)

fix(coding-agent): handle missing session cwd master


+259 -12
6 changed files