Yeah I found the article a bizarre read. It talks about ActovityPub and Mastodon but fails to mention the fediverse at all. Instead it talks about the “pluriverse”, some random new term pulled from some paper, and paints a vision of people spread across various commercial social media platforms.
Either it’s a blind spot In their research or an agenda so deliberate omission, but regardless it seems strange to talk about the disintegration of social media and even Mastodon but not what Mastodon is a part of.
But I agree the general themes are there - it’s basically talking about the impact of enshittification but without using the term.
If you implement it from fresh then it is a new program. What matters is what your contract says about what you produce - some contracts pay claim to anything you make even outside of working hours.
Also if you rewrite it, while technically it is a fresh project if there are substantial similarities in how you implement it there could be an argument made that you have reused code that belongs to the company. Even if that is technical false it could be something you’d have to defend sometime in the future. As others have said, implementing the program in a different language and using a different methodology wherever possible should help protect against that.
I think the advice others have given that you should review your contract with a lawyer is sound even if this will be FOSS. It’s mainly about ensuring you don’t inadvertently open yourself to potential legal repercussions down the line, even if your employers at the moment seem benign. If you do work for a company that lays claim to everything you produce even in your off hours then I would strongly recommend you consider leaving or an exit plan, particularly if you are the sort of person who would be working on your own projects for fun or even your own business ventures.