# CodeTree — Product Definition
## What It Is
CodeTree is an AI Agentic native source version control system.
1) the git is for multiple human collaboration, but codetree is for multiple agent collaboration.
2) rollback - the situation is agent may commit very freqently, but the quality may not really good. so how ensure easy rollback without impact to code base be important. need both undo and redo — undo to rollback a bad change, redo to recover if the undo was a mistake.
3) breakout - and sometime agents may work on same piece of code, and how to scope down will help it easy to collaborate (prefer no overlap of scope, so maybe you can do locking when working, and agents can in queue to operate, so prevent from merge effort). ai coding prefer alot of agent work in parallel, so simplify the dependency from each other is super important, that dont need alot of overwrite or merging. the VCS should ease the scoping.
4) hook - the code need to be well test before really write to repo. and sometime. and also trigger some linter/test/documentation along.
5) cherrypick - maybe we hv multiple solution candidate for a problem, that you need to be able to store them, and then validate and evaluate which is better on and keep it.
6) freeze - make some part of the code be freeze that not allow to change, and just readonly. the reason is AI easy do coding, and break good code, so we need a way to protect the good code.
7) map - the agent need orientation — a map that show where am i in the code version tree. current position relative to base and all the other operations, so it know what is going on and where it stand.