by laweijfmvo 7 hours ago

huh, but what if the AI trashes my git repo? maybe it just deletes the .git folder entirely. a deterministic undo wouldn’t be the silliest feature, for the current definition of “AI”.

pamcake 4 hours ago | [-0 more]

The answer is the same: You give it either read-only or its own copy separate from the one you care about.

The requested feature wouldn't be a robust solution here either for the same reasons.

Besides, have you noticed the amount of other amateur-hour bugs anf jank in Codex going for weeks or months without proper resolution? Given that, why would you want and trust their solution here over alternatives, specifically?

mirashii 7 hours ago | [-1 more]

The default sandboxing for Codex does not allow the agent to access .git

valleyer 6 hours ago | [-0 more]

I think this is what you meant, but just to clarify: it doesn't allow it to write to .git. Read access is allowed.