I submit a large PR to repository X. Later, I close the PR and make my own repository that uses some of X's code, and give X due attribution in the NOTICE file and function docstrings. At time of dispute, my repository is private and not distributed, though I can change that.
If I explicitly forbid it, is X allowed to 1) reopen the PR and commit it to X, 2) use code in my PR to publish an academic work? This related Q&A doesn't answer my question.