From 1d4f77ee1b492f76c661714477a153a25329a724 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 18 Jul 2026 17:43:28 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20rename=20PyAutoBuild=20=E2=86=92=20?= =?UTF-8?q?PyAutoHands=20(notebook-gen=20+=20CI=20refs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part of the PyAutoBuild → PyAutoHands repository rename. Updates cross-repo references (GitHub slug PyAutoLabs/PyAutoBuild → PyAutoLabs/PyAutoHands and the on-disk sibling directory PyAutoBuild/ → PyAutoHands/) now that the repo is renamed. The `autobuild` package/CLI name is unchanged (only the directory prefix and repo/brand change); `PyAutoBuild#NNN` issue links and historical records are left as-is (GitHub redirects the old slug). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01JsYpZBw74w5g1kAqpWEAiE --- .github/workflows/navigator_check.yml | 8 ++++---- .navigator_check_ignore | 2 +- AGENTS.md | 14 +++++++------- README.md | 2 +- config/build/markdown_examples.yaml | 2 +- llms-full.txt | 2 +- markdown/README.md | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/navigator_check.yml b/.github/workflows/navigator_check.yml index f8a28d4..50a2928 100644 --- a/.github/workflows/navigator_check.yml +++ b/.github/workflows/navigator_check.yml @@ -1,9 +1,9 @@ name: Navigator Check -# Thin caller for PyAutoBuild's reusable navigator-catalogue check. The check +# Thin caller for PyAutoHands's reusable navigator-catalogue check. The check # logic (path/banner lint + catalogue staleness) and its entrypoints live in -# PyAutoBuild/autobuild; this repo only declares which generator project to run. -# See PyAutoLabs/PyAutoBuild/.github/workflows/navigator_check.yml. +# PyAutoHands/autobuild; this repo only declares which generator project to run. +# See PyAutoLabs/PyAutoHands/.github/workflows/navigator_check.yml. on: [push, pull_request] @@ -12,6 +12,6 @@ permissions: jobs: navigator: - uses: PyAutoLabs/PyAutoBuild/.github/workflows/navigator_check.yml@main + uses: PyAutoLabs/PyAutoHands/.github/workflows/navigator_check.yml@main with: project: howtolens diff --git a/.navigator_check_ignore b/.navigator_check_ignore index 5130bb7..56419cf 100644 --- a/.navigator_check_ignore +++ b/.navigator_check_ignore @@ -1,5 +1,5 @@ # Paths exempt from the navigator path/banner checks (see -# PyAutoBuild/autobuild/check_navigator.py). One path or glob per line. +# PyAutoHands/autobuild/check_navigator.py). One path or glob per line. # # CLAUDE.md's "Relationship to autolens_workspace" section mentions sibling # autolens_workspace scripts in prose (as the next destination after a concept). diff --git a/AGENTS.md b/AGENTS.md index 06e3957..2802c49 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -39,9 +39,9 @@ cap grids/masks). On CI, every PR is gated on Python **3.12 and 3.13** by `smoke_tests.yml` (runs `python .github/scripts/run_smoke.py`, driven by `smoke_tests.txt` + `config/build/env_vars.yaml` — -the definition of green), `navigator_check.yml` (PyAutoBuild's reusable navigator-catalogue check; +the definition of green), `navigator_check.yml` (PyAutoHands's reusable navigator-catalogue check; see *Notebooks vs Scripts*), and `url_check.yml` (link checking). The smoke and navigator jobs check -out **PyAutoBuild** as a sibling and run the PyAuto* libraries from the **same-named branch** of each +out **PyAutoHands** as a sibling and run the PyAuto* libraries from the **same-named branch** of each source repo, so a HowToLens PR is validated against matching library branches. ## Sandboxed / restricted runs @@ -54,17 +54,17 @@ NUMBA_CACHE_DIR=/tmp/numba_cache MPLCONFIGDIR=/tmp/matplotlib python scripts/cha ## Notebooks vs Scripts -Notebooks in `notebooks/` are **generated** from the `.py` scripts via PyAutoBuild. **Always edit the +Notebooks in `notebooks/` are **generated** from the `.py` scripts via PyAutoHands. **Always edit the `.py` scripts, never the `.ipynb` directly.** The `# %%` marker alternates code and markdown cells. Regenerate from the repo root: ```bash -PYTHONPATH=../PyAutoBuild/autobuild python3 ../PyAutoBuild/autobuild/generate.py howtolens +PYTHONPATH=../PyAutoHands/autobuild python3 ../PyAutoHands/autobuild/generate.py howtolens ``` -The `howtolens` project target is registered in PyAutoBuild (`run_all.py`, `navigator.py`, +The `howtolens` project target is registered in PyAutoHands (`run_all.py`, `navigator.py`, `config/`). The navigator catalogue — `llms-full.txt` + `workspace_index.json` — is what -`navigator_check.yml` gates; it is rebuilt by the same PyAutoBuild generate/merge flow that builds +`navigator_check.yml` gates; it is rebuilt by the same PyAutoHands generate/merge flow that builds the notebooks. Commit regenerated notebooks and catalogue alongside the script changes. ## Bulk-edit safety @@ -84,7 +84,7 @@ entities, sources). If cloned as a sibling, read it locally at `../autolens_assi - `../PyAutoLens`, `../PyAutoGalaxy` — source libraries. - `../autolens_workspace` — the user-facing workspace (tutorials point here as the next destination). -- `../PyAutoBuild` — notebook generation + CI tooling. +- `../PyAutoHands` — notebook generation + CI tooling. - `../autolens_assistant` — science-assistant workspace (literature wiki; see *Scientific Context*). ## Task Workflows diff --git a/README.md b/README.md index 24b6c57..5be9417 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ lecture course on gravitational lensing by Massimo Meneghetti open as you go thr Notebooks in `notebooks/` are generated from the Python files in `scripts/`. **Always edit the \`\`.py\`\` scripts, never the notebooks directly.** The `# %%` markers in each script alternate between code and -markdown cells, which [PyAutoBuild](https://github.com/PyAutoLabs/PyAutoBuild) uses to produce the +markdown cells, which [PyAutoHands](https://github.com/PyAutoLabs/PyAutoHands) uses to produce the `.ipynb` files. ## Relationship to autolens_workspace diff --git a/config/build/markdown_examples.yaml b/config/build/markdown_examples.yaml index c34a517..fe8d232 100644 --- a/config/build/markdown_examples.yaml +++ b/config/build/markdown_examples.yaml @@ -1,5 +1,5 @@ # Curated examples rendered to executed markdown pages (markdown/) with real -# output images, for GitHub browsing. Built by PyAutoBuild's generate_markdown.py. +# output images, for GitHub browsing. Built by PyAutoHands's generate_markdown.py. # Batch 2b: chapter_1_introduction (no non-linear searches — fast). - script: scripts/chapter_1_introduction/tutorial_0_visualization.py max_minutes: 30 diff --git a/llms-full.txt b/llms-full.txt index 0e34750..20b2f42 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -1,4 +1,4 @@ -AUTO-GENERATED by PyAutoBuild — do not edit by hand; regenerate with generate.py. +AUTO-GENERATED by PyAutoHands — do not edit by hand; regenerate with generate.py. # HowToLens Lectures — Full Catalogue diff --git a/markdown/README.md b/markdown/README.md index 2580590..9811349 100644 --- a/markdown/README.md +++ b/markdown/README.md @@ -12,4 +12,4 @@ Every page below is the corresponding example script **fully executed**, rendere - [Tutorial 7: Fitting](chapter_1_introduction/tutorial_7_fitting.md) — from `scripts/chapter_1_introduction/tutorial_7_fitting.py` - [Tutorial 9: Summary](chapter_1_introduction/tutorial_8_summary.md) — from `scripts/chapter_1_introduction/tutorial_8_summary.py` -These pages are regenerated manually by PyAutoBuild's `generate_markdown.py` when a curated script changes. +These pages are regenerated manually by PyAutoHands's `generate_markdown.py` when a curated script changes.