Skip to content

fix: re-pin and re-stamp the five drifted wiki/core provenance pages - #14

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/automind-task-planning-k13fsk
Aug 7, 2026
Merged

fix: re-pin and re-stamp the five drifted wiki/core provenance pages#14
Jammy2211 merged 1 commit into
mainfrom
claude/automind-task-planning-k13fsk

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Clears the five content_sha256 errors that failed wiki_currency_check_autogalaxy during the 2026-08-07 release run (PyAutoHands release.yml 31200419263). That red has been on main since 2026-08-06, so every PR to this repo has been failing wiki-currency regardless of its contents until this lands.

Five files under wiki/core/. No library, workspace, or skill code touched.

The prompt's framing was inverted, and it changed the fix

This was filed as a pure --write-provenance re-stamp, with a warning against blessing stale prose. The reverse held: the prose is correct and two pinned_commits were stale.

All five mismatches trace to one commit, b2fc57a ("docs: update HowToGalaxy references for the tutorial restructure", #12), whose own message records the deferral — "The page's pinned_commit frontmatter is left for the ag_update_wiki maintainer flow." Known debt, not an accident.

The load-bearing detail: --write-provenance rewrites content_sha256 only and never touches pinned_commit (autoassistant/audit_skill_apis.py:1132-1133). A bare re-stamp would have turned this job green while leaving two pages attesting current prose against superseded source.

Re-pinned (2), after re-validating the prose against those checkouts

  • external/howtogalaxy.md — HowToGalaxy b1815e9dee283c9d. This pin had to move: b2fc57a rewrote the page's own paths: list to chapter_3_pixelizations / chapter_4_scaling_up_galaxies, directories that do not exist at b1815e9d. The checker cannot catch this — it verifies a pin is a real, reachable commit, not that the declared paths resolve there. Verified against ee283c9d: 6+10+6+3+1 = 26 tutorials, 6 simulators, 32 .py total, 26+6 = 32 matching notebooks, and all three chapter tables agree with the files on disk.
  • external/skill_citation_map.md — autogalaxy_assistant a083753c239a61c, 4 commits stale on skills/ (22 files, including two entirely new skills). Content was already current — 25 skills on disk, 25 rows, zero drift in either direction, all 13 HowToGalaxy cells resolve — so this is a pin correction, not a rewrite.

Re-stamped only (3)

Each took a one-line HowToGalaxy cross-reference from b2fc57a, and none of their pinned projects moved. Every claim re-verified against source:

  • concepts/inversions_and_pixelizations.md — chapter 3 does carry the linear algebra and Bayesian statistics (tutorial_3_inversions, tutorial_5_bayesian_formalism).
  • concepts/non_linear_search.md — chaining is tutorial_9_search_chaining + tutorial_10_prior_passing, at the end of chapter 2.
  • external/rtd.mdPyAutoGalaxy:docs/howtogalaxy/ has exactly chapter_1_introductionchapter_4_scaling_up_galaxies plus chapter_optional.

Also folded in: two undocumented prose files

HowToGalaxy carries two extensionless prose fileschapter_2_modeling/tutorial_11_summary and chapter_3_pixelizations/introduction. They are chapter narrative, not tutorials: no .py, no notebook, correctly excluded from the counts. Undocumented, they are an active trap — listing the directory makes the first look like an eleventh tutorial, and this page's own URL-building rule (scripts/CHAPTER/TUTORIAL.py) yields a 404 for it. Now documented beside the existing chapter-1 caveats, including the contrast with chapter 1's tutorial_5_summary.py, which is a real script and is counted in its 6.

Verification

Run locally on this branch:

Leg Result
--check-provenance 0 errors (was 5), 101 warnings
--check-citations 78 files, 1061 citations, 0 missing
--lint-idioms clean, 122 files

A self-check worth reusing: four of the five new hashes landed exactly on the "actual" values the checker reported before any edit — proof that no prose changed in those four. Only howtogalaxy.md differs, and only by the one deliberate addition.

--check-version and --scope all were not gradeable locally — they grade against an installed autogalaxy, absent from the container this was prepared in, and per the baseline-repin-TRAP recorded under mge-sigma-min-workspace-sweep a local source install would be the wrong ground truth anyway.

Both have since passed in CI (wiki-currency job 93016921887). Verified rather than assumed from the badge: the job's stdout is empty because each leg writes to $GITHUB_STEP_SUMMARY, so the workflow was read directly — run() captures each leg's rc and sets fail=1 on any non-zero, all five legs run unconditionally, and exit "$fail" is the aggregate (.github/workflows/wiki-currency.yml:129-157). A green conclusion therefore means all five legs exited 0, with nothing skipped or masked. --check-version passing also confirms the baseline still matches released autogalaxy 2026.8.7.1.

The 101 provenance warnings are all no git checkout resolvable — commit checks skipped (packaged install?), expected on a runner where the libraries are pip-installed. Not actionable, and deliberately not "fixed".

Related, not folded in

The sibling wiki_currency_check failure for autolens in the same release run was a PyPI index-propagation race, already resolved and graded clean on all five legs on 2026-08-07. No autolens counterpart exists or is needed.

The 2026-08-07 release run failed `wiki_currency_check_autogalaxy` on five
`content_sha256` mismatches. All five were caused by one commit, b2fc57a
("docs: update HowToGalaxy references for the tutorial restructure"), which
deliberately deferred the frontmatter: "The page's pinned_commit frontmatter
is left for the ag_update_wiki maintainer flow."

That deferral inverts the usual hazard. The prose is correct; the pins are
stale. And `--write-provenance` rewrites `content_sha256` only — it never
touches `pinned_commit` — so a bare re-stamp would have turned the check
green while leaving two pages attesting current prose against old source.

Re-pinned, after re-validating the prose against those checkouts:

- `external/howtogalaxy.md` — HowToGalaxy b1815e9d -> ee283c9d. This pin had
  to move: b2fc57a rewrote the page's own `paths:` list to
  `chapter_3_pixelizations` / `chapter_4_scaling_up_galaxies`, directories
  that do not exist at b1815e9d. Verified against ee283c9d: 6+10+6+3+1 = 26
  tutorials, 6 simulators, 32 .py total, 26+6 = 32 matching notebooks, and
  all three chapter tables agree with the files on disk.
- `external/skill_citation_map.md` — autogalaxy_assistant a083753 ->
  239a61c, 4 commits stale on `skills/`. Content was already current: 25
  skills on disk, 25 rows, zero drift in either direction, and all 13
  HowToGalaxy cells resolve. A pin correction, not a rewrite.

Re-stamped only (their pinned projects did not move; each took a one-line
HowToGalaxy cross-reference, verified against source):

- `concepts/inversions_and_pixelizations.md` — chapter 3 now carries the
  linear algebra and Bayesian statistics (tutorial_3_inversions,
  tutorial_5_bayesian_formalism).
- `concepts/non_linear_search.md` — chaining is tutorial_9_search_chaining
  and tutorial_10_prior_passing, at the end of chapter 2.
- `external/rtd.md` — PyAutoGalaxy docs/howtogalaxy/ has exactly
  chapter_1_introduction .. chapter_4_scaling_up_galaxies plus
  chapter_optional.

Also documents two extensionless prose files in HowToGalaxy
(`chapter_2_modeling/tutorial_11_summary`, `chapter_3_pixelizations/introduction`).
They are chapter narrative, not tutorials — no .py, no notebook, excluded
from the counts — but listing the directory makes the first look like an
eleventh tutorial, and the page's URL-building rules yield a 404 for it.

Verified here: --check-provenance 0 errors (was 5), --check-citations 78
files / 1061 citations / 0 missing, --lint-idioms clean across 122 files.
--check-version and --scope all are NOT gradeable in this session: autogalaxy
is not installed, and per the recorded baseline-repin-TRAP a local source
install would be the wrong ground truth anyway. CI is authoritative for
those two legs. This change touches no PyAuto* symbols, only file paths and
prose, so neither leg should move.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rk1Z3322mKgJEVE761h11
@Jammy2211
Jammy2211 merged commit 90a10aa into main Aug 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants