@@ -82,7 +82,6 @@ autolens/
8282 imaging/ FitImaging, AnalysisImaging
8383 interferometer/ FitInterferometer, AnalysisInterferometer
8484 point/ Point-source datasets, fits, and analysis
85- quantity/ FitQuantity for arbitrary lensing quantities
8685 analysis/ Shared analysis base classes, adapt images
8786 aggregator/ Scraping results from autofit output directories
8887 plot/ Visualisation for all data types
@@ -156,26 +155,26 @@ When importing `autolens as al`:
156155## Line Endings — Always Unix (LF)
157156
158157All files ** must use Unix line endings (LF, ` \n ` )** . Never write ` \r\n ` line endings.
159- ## Never rewrite history
160-
161- NEVER perform these operations on any repo with a remote:
162-
163- - ` git init ` in a directory already tracked by git
164- - ` rm -rf .git && git init `
165- - Commit with subject "Initial commit", "Fresh start", "Start fresh", "Reset
166- for AI workflow", or any equivalent message on a branch with a remote
167- - ` git push --force ` to ` main ` (or any branch tracked as ` origin/HEAD ` )
168- - ` git filter-repo ` / ` git filter-branch ` on shared branches
169- - ` git rebase -i ` rewriting commits already pushed to a shared branch
170-
171- If the working tree needs a clean state, the ** only** correct sequence is:
172-
173- git fetch origin
174- git reset --hard origin/main
175- git clean -fd
176-
177- This applies equally to humans, local Claude Code, cloud Claude agents, Codex,
178- and any other agent. The "Initial commit — fresh start for AI workflow" pattern
179- that appeared independently on origin and local for three workspace repos is
180- exactly what this rule prevents — it costs ~ 40 commits of redundant local work
181- every time it happens.
158+ ## Never rewrite history
159+
160+ NEVER perform these operations on any repo with a remote:
161+
162+ - ` git init ` in a directory already tracked by git
163+ - ` rm -rf .git && git init `
164+ - Commit with subject "Initial commit", "Fresh start", "Start fresh", "Reset
165+ for AI workflow", or any equivalent message on a branch with a remote
166+ - ` git push --force ` to ` main ` (or any branch tracked as ` origin/HEAD ` )
167+ - ` git filter-repo ` / ` git filter-branch ` on shared branches
168+ - ` git rebase -i ` rewriting commits already pushed to a shared branch
169+
170+ If the working tree needs a clean state, the ** only** correct sequence is:
171+
172+ git fetch origin
173+ git reset --hard origin/main
174+ git clean -fd
175+
176+ This applies equally to humans, local Claude Code, cloud Claude agents, Codex,
177+ and any other agent. The "Initial commit — fresh start for AI workflow" pattern
178+ that appeared independently on origin and local for three workspace repos is
179+ exactly what this rule prevents — it costs ~ 40 commits of redundant local work
180+ every time it happens.
0 commit comments