Elon Musk announced the entire codebase of X/Twitter will be going open source
(media.thebrainbin.org)
The way I interpreted it was if Twitter made their codebase open source, then people could submit pull requests that would add AP federation, and have them merged. But there's surely room for different interpretations of the original comment.