From c8188e39951d35e8e6a5e4e667e8004e57b6460c Mon Sep 17 00:00:00 2001 From: Dasemu Date: Fri, 13 Mar 2026 08:45:09 +0100 Subject: [PATCH] docs(lessons): record main checkout rule --- LESSONS.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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)