I have two GitHub repositories, both of which are available to Codex, but are running in different environments.
Both are runing, but they can’t “see” each other.
The problem is that I have to copy code manually, and endpoints from the BE Repo when creating tasks for the FE codex. Is there a better way?
I download my repo as a zip file and add it to my other repo, codex will read the zip file and use it as reference. If you change the repo you need to update the zip file.
As opposed to copy-pasting back-and-forth, set up a workflow where you don’t have to. If you’re in the cloud environment, then either enable Internet connectivity and expose the API or at least create full documentation for it and just make sure that it’s correct. There are ways to have that automatically update if you are using jsdoc. Otherwise set up a repo rule that keeps the copies consistent between the two. Always clean up your old documentation that no longer applies or it will get confused.