mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 23:36:17 +00:00
docs: add git worktree mandatory workflow to agents and lessons
This commit is contained in:
1 parent
c486c585d0
commit
00efa356c3
2 files changed
+44
No files matched your search
@@ -31,6 +31,17 @@ The results must be accessible through a Telegram bot.
|
||||
|
||||
This repository is designed to be developed collaboratively by AI coding agents.
|
||||
|
||||
### Mandatory Workflow: Git Worktrees
|
||||
|
||||
**CRITICAL**: Agents MUST create a new **git worktree** for every new feature, major refactor, or non-trivial task. This ensures a clean workspace, allows for parallel research/development, and prevents context contamination.
|
||||
|
||||
**Correct Workflow for Agents:**
|
||||
1. Create a worktree: `git worktree add ../feature-name -b feature-branch`
|
||||
2. Switch to the worktree: `cd ../feature-name`
|
||||
3. Implement, test, and commit inside the worktree.
|
||||
4. Merge back to `main` from the original directory.
|
||||
5. Cleanup: `git worktree remove ../feature-name` and `git branch -d feature-branch`.
|
||||
|
||||
Core System Philosophy
|
||||
|
||||
Predictions must follow a hybrid architecture.
|
||||
|
||||
Reference in new issue
Block a user