Repository navigation
maintenance: clear workspace dead weight, worktree trees and the jax_joss checkout - #390
Merged
Merged
Conversation
…_joss checkout The autolens_jax_joss local checkout was removed as workspace dead weight (#389); the repo lives on GitHub only. Rewrite the DATASET_REPOS exclusion comment so it no longer implies a local checkout, while keeping the record of why it was excluded (JWST cosmos_web_ring real instrument data). Part of workspace-regroup phase 1b. No behaviour change: autolens_jax_joss was never in DATASET_REPOS. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0161NLKVzbBMzhaBfjpGogor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #389. Phase 1b of the workspace regroup. Changes no directory layout.
What landed in this PR
One comment:
bin/clean_slate.shno longer implies a localautolens_jax_josscheckout, while keeping the record of why it was excluded fromDATASET_REPOS. No behaviour change — it was never in that array.Companion PR: PyAutoLabs/PyAutoMind#413 (repos.yaml role text + the three re-pointed prompts).
What landed outside version control
Most of this task was unversioned: the workspace root is not a git repo, so git holds none of it and there is no rollback. Everything below was archived first to
~/Code/PyAutoLabs-backups/root-unversioned-2026-09-18.tar.gz(29 entries), which was then used in anger — see "Course corrections"..worktrees/removed (74M → 0). 8 real worktrees viagit worktree remove+ prune, then ~81 symlinks. All 8 task branches verified 0 commits not on a remote. Only genuine loss:autofit_workspace/test-results/(24K smoke artefact).autolens_jax_josslocal checkout removed (4.5M), after re-confirmingls-remoteparity at6bce65eimmediately before deletion. The GitHub remote is untouched — it is the citable artefact behind the JOSS paper's benchmark claims..agents/(10 symlinks, every one already dangling),.codex/(empty),scrap.py(contained only the non-parsing lineimport numpy as),root.log(0 bytes), 4 spent.pr-body-*.md,.pytest_cache/,.ruff_cache/..idea/PyAutoLabs.imlentries, the.idea/vcs.xmljax_joss mapping, 2 dead.claude/settings.jsonadditionalDirectories.Root entry count: 45 → 42 visible, and 59 → 47 counting dotfiles (12 removed). The navigation win from this task is modest by design — it clears dead weight only. The regroup itself (phase 3) is what takes the root to ~16.
Course corrections during execution
Three things in the approved plan turned out to be wrong, and were not done as written:
.git/stub was kept. The plan said to delete it because it made git andcodex execfail at the root. It doesn't — those fail because there is no repo, and removing the stub changes only the error text. It also turned out to hold a liveclaude-code-runtimeexclude file. Deleting a harness-managed directory for a benefit that doesn't exist is pure risk..imlprune was nearly destructive. Dropping every entry whose path is absent would have removed 9excludeFolderrules foroutput/,.venv/andnotebooks/dirs that simply don't exist right now and are recreated by runs — letting the IDE index large output trees later. The archive was restored and the correct rule applied: drop an entry only when its repo is gone (44 entries, 7 repos: z_projects, z_projects_complete, PyAutoConf, PyAutoBuild, PyAutoPulse, PyAutoPrompt, autolens_base_project).Also: the issue called the
admin_jammyAGENTS.md row stale. It isn't —Jammy2211/admin_jammyis a genuine body-map repo that is simply not cloned locally.Witness
ls -aat root shows none of the deleted itemsgit worktree listper repo reports no.worktrees/entryls-remotestill returns6bce65ewith the checkout goneimport autolens, autofit, autoarray, autogalaxy, autonervesresolves from the flat checkoutsrepos_sync.py --checkintake dashboard --checkbash -n clean_slate.sh, XML/JSON validity of the 3 edited config filesNot touched
The 11 live
PyAutoLabs-wttask worktrees;scrap.md,tmp/,.git-salvage/; the three canonical untracked files Heart reports as drift (two assistant scripts + theautolens_inferenceA100 results) — those appeared inside.worktrees/only through symlinks and were never at risk. Five stale PyAutoMind worktrees remain in other sessions'/tmpscratchpads; they survivedprune, so those dirs still exist and belong to other sessions.🤖 Generated with Claude Code
https://claude.ai/code/session_0161NLKVzbBMzhaBfjpGogor