mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 15:26:15 +00:00
docs(lessons): record main checkout rule
This commit is contained in:
1 parent
a6bfc69894
commit
c8188e3995
1 file changed
+15
+15
@@ -54,3 +54,18 @@ git branch -d feature-branch
|
||||
|
||||
**Files affected:**
|
||||
- [LESSONS.md](LESSONS.md)
|
||||
|
||||
---
|
||||
|
||||
## Execution Context - 2026-03-13
|
||||
|
||||
**What went wrong:** I continued running environment/bootstrap commands inside a secondary worktree after the user explicitly asked to run them in the main repository checkout.
|
||||
|
||||
**Root cause:** I treated the worktree isolation choice as more important than the user's concrete execution context instruction.
|
||||
|
||||
**Prevention rule:** In this repository, if the user explicitly says to execute locally in `main`, run the operational commands in the main checkout even if a worktree exists for development or review work.
|
||||
|
||||
**Example:** After the user asked to run `./start.sh`, `scripts/build_full_dataset.py`, and `scripts/collect_daily_data.py` locally, those commands had to be executed in `/home/dasemu/Hacking/Darío Sevilla/skipredictor`, not in `/home/dasemu/Hacking/Darío Sevilla/skipredictor-db-migration`.
|
||||
|
||||
**Files affected:**
|
||||
- [LESSONS.md](LESSONS.md)
|
||||
Reference in new issue
Block a user