I started with one website. As I built more useful features, it grew into a homepage, blog, web tools, an investment platform, and other services and apps, each with its own GitHub repository.
Codex can work with several repositories, but sharing an AI development environment does not turn them into one project.
Connecting multiple repositories does not merge them
I initially connected seven ONSEMO repositories to a Codex Cloud development environment. Each project had a different purpose and toolchain.
The homepage directed visitors to services. The blog published content. The investment platform managed personal records and research. Some other projects included Android applications or Cloudflare Workers.
Even in one Codex environment, their branches, commits, and history remain independent. A request must specify which repository to work in.
I covered the initial Cloud setup, dependencies, and build checks in an earlier article.
Related readingBuilding a Codex Cloud Development Environment After a WSL2 OOMA real account of analyzing WSL2 memory failure, linking seven GitHub repositories to Codex Cloud, installing Android tools, adjusting startup instructions, and checking what Publish did and did not prove.
Before connecting several repositories, I also ran into a GitHub connection failure. That investigation required separating Codex sandbox network access from Git's SSH configuration.
Related readingWhen Codex Cannot Connect to GitHub, Authentication May Not Be the ProblemHow I diagnosed a Codex GitHub connection failure by separating DNS lookup, sandbox network permissions, SSH authentication, and Git's SSH configuration.
Each project needs different rules
A public blog needs consistent Korean and English articles and stable URLs. A personal investment platform has restrictions on financial data storage and external APIs. An Android app has device permissions and Release-signing compatibility to consider.
Rather than blindly applying identical instructions everywhere, I check the AGENTS.md and related specifications for the target repository.
One development agent can work across projects while each project retains its own standards.
The reasoning behind separating shared instructions and feature documents is described here:
Related readingStop Repeating Instructions to Codex — AGENTS.md and Feature-Specific Markdown DocsHow to separate AGENTS.md project-wide instructions from feature documents, architecture notes, status updates and roadmaps when working with Codex.
When a single request affects two repositories
Consider publishing a new investing article and adding a link to it on the homepage.
- In the BLOG repository, the article itself is added.
- In the HOME repository, the public article URL is linked.
These changes share a goal, but they are separate commits and deployments. Adding a homepage link before the article is publicly available can leave readers on a missing page.
I therefore verify the BLOG article and its language-specific routes, publish it first, and only then complete the homepage link deployment. Each repository must pass its own tests.
A successful PR in one repository does not prove success in another, and a rollback may require separate decisions for each.
Define task boundaries up front
For cross-repository work, I specify the following:
| Category | What to define |
|---|---|
| Edit targets | Repositories and files that can change |
| Read-only references | Repositories used only for context |
| Restrictions | Projects and settings that must remain untouched |
| Validation | Build and test commands for each repository |
| Release order | Dependencies between merge and deployment steps |
An example request is:
Add a new Knowledge article to BLOG and link it from the related HOME page. Read BLOG's content policy and current article structure first. In HOME, change only the relevant link. Validate each repository separately. Publish BLOG before updating HOME, and do not modify unrelated projects.
Explicit scope reduces the risk of unplanned edits.
Track progress by repository
At any moment, one project may be adding features, another fixing bugs, and another preparing content. If all progress exists only in a chat, it becomes difficult to distinguish what is implemented from what was merely discussed.
In each repository, PROJECT_STATUS.md can describe confirmed implementations and verification results, while feature specifications and roadmaps cover design and planned work.
The repository's code, recent commits, and tests remain the source of evidence. Documentation should not be accepted as proof on its own.
Is working on everything at once always efficient?
Parallel work is convenient, but changing too many projects at once can make failures harder to diagnose.
I keep single-project changes within that repository. If another project is only needed for reference, I treat it as read-only. If two projects must change, I plan scope and order. A shared API or data format change requires checking dependent services first.
I also experienced the importance of separating environments from committed changes while recovering work between Codex Cloud and WSL.
Related readingOne Week with Codex Cloud, and Why I Returned to WSLA network issue in Codex Cloud led me back to WSL, where I recovered uncommitted changes and reconciled a 46-commit gap.
Codex is the tool; repositories are the boundaries
GitHub provides source history, and each project's Markdown documents record rules and decisions. Codex can work with both, but the choice of which repository changes and what gets published needs explicit boundaries.
Managing multiple repositories well is not about merging them into one workspace. It is about keeping their independence while linking the parts that genuinely belong together.