My husband had a (paid) non-compete period where he was in-between jobs and he did decide to spend his time volunteering and writing code but it was for a non-profit org. This doesn’t sound like that.