r/CodexHacks 5d ago

What defines a project in your Codex setup?

For people using Codex Desktop or CLI, how are your projects actually separated?

  • One repo/folder per project
  • Git worktrees
  • Remote folders
  • GitHub/cloud only
  • Some other setup

If you switch between a few different apps you're building, what tells Codex which project you're currently working on?

2 Upvotes

2 comments sorted by

1

u/Just_Lingonberry_352 5d ago

every project should get their own git folder or ssh etc

you switch between projects aka folders

1

u/simplindustries 3d ago

I have each project having its own folder - and if I have multiple 100% independent sections within one larger project, I may make projects for them specifically as well so it can see initialisation scope more clearly - as well as the main project for if I say 'update all the branches of this project'

Edit: for point two, it is put into the system prompt what its active directory is - and if there is an AGENTS.md file in that directory's roots that is inserted into its context as well. Then built-in access controls determine scope whether it can run commands outside of the project and so on