diff --git a/LESSONS.md b/LESSONS.md index c704ca8..e522e46 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -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)