logoalt Hacker News

dist-epochyesterday at 10:46 AM1 replyview on HN

For example there is no easy way to create a "localized" branch - this branch is only allowed to change files in "/backend", such that the agent doesn't randomly modify files elsewhere. This way you could let an agent loose on some subpart of the monorepo and not worry that it will break something unrelated.

You can do all kinds of workarounds and sandboxes, but it would be nice for git to support more modularity.


Replies

zelphirkaltyesterday at 11:42 AM

Sounds like a submodule with restrictions for push access managed on the repo level of the submodule.