Skip to content

fix: regenerate the chat bundle against the 2026.8.4.1 baseline - #109

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/regenerate-chat-bundle-2026-08-04
Aug 4, 2026
Merged

fix: regenerate the chat bundle against the 2026.8.4.1 baseline#109
Jammy2211 merged 2 commits into
mainfrom
feature/regenerate-chat-bundle-2026-08-04

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Closes #108.

chat_bundle.py --check failed the wiki-currency leg of release 2026.8.4.1
(PyAutoHands run 30905602064) on all 12 committed artifacts.

Cause

pinned_stack() reads the stack version from wiki/core/api_audit_baseline.json,
and the release regenerates that baseline as its own commit (2995839, "Release
2026.8.4.1: regenerate API audit baseline"). The release does NOT regenerate the
chat bundle, so every version-headed artifact goes stale the instant the baseline
lands. This is stale-by-construction at every release, not a one-off.

Control test: on the pre-release baseline the check reported 2 stale files; after
pulling 2995839 it reported the same 12 as CI. Regenerating and re-running the
check on the regenerated output gives OK - artifacts current (exit 0).

Not just version stamps

The refresh also picks up real API surface added in this release:

  • total public symbols 655 -> 658
  • autolens.plot 61 -> 64
  • new: subplot_fit_interferometer_combined,
    subplot_fit_interferometer_dirty_images, subplot_interferometer_dataset

Follow-up

The recurrence itself is not fixed here — the release workflow should regenerate
the bundle alongside the baseline, otherwise the next release files the next
drift issue. Tracked separately.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H3XMXCxF72JgNcLeVwCPhZ

Jammy2211 and others added 2 commits August 4, 2026 13:02
Closes #108.

`chat_bundle.py --check` failed the wiki-currency leg of release 2026.8.4.1
(PyAutoHands run 30905602064) on all 12 committed artifacts.

## Cause

`pinned_stack()` reads the stack version from `wiki/core/api_audit_baseline.json`,
and the release regenerates that baseline as its own commit (2995839, "Release
2026.8.4.1: regenerate API audit baseline"). The release does NOT regenerate the
chat bundle, so every version-headed artifact goes stale the instant the baseline
lands. This is stale-by-construction at every release, not a one-off.

Control test: on the pre-release baseline the check reported 2 stale files; after
pulling 2995839 it reported the same 12 as CI. Regenerating and re-running the
check on the regenerated output gives `OK - artifacts current` (exit 0).

## Not just version stamps

The refresh also picks up real API surface added in this release:

- total public symbols 655 -> 658
- `autolens.plot` 61 -> 64
- new: `subplot_fit_interferometer_combined`,
  `subplot_fit_interferometer_dirty_images`, `subplot_interferometer_dataset`

## Follow-up

The recurrence itself is not fixed here — the release workflow should regenerate
the bundle alongside the baseline, otherwise the next release files the next
drift issue. Tracked separately.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H3XMXCxF72JgNcLeVwCPhZ
The first pass regenerated on a machine whose PyAuto* install is the source
checkouts, whose version stamp is deliberately frozen at 2026.7.23.1. But
`api_surface()` builds its page by introspecting the LIVE installed stack
(`render_symbol_dump()`), and that page carries a `Stack versions:` line
reporting those installed versions — so the artifacts were stamped 2026.7.23.1
and `--check` still failed on the two files carrying that line
(llms-chat.txt, chat_pack/01_api_surface.md).

Regenerated in a clean venv holding the released `autolens==2026.8.4.1` wheels
(PYTHONPATH unset, verified `autolens.__file__` resolves to site-packages), which
is what `wiki-currency.yml` installs. `--check` under that same env now reports
`OK - artifacts current`.

Worth recording: the symbol dumps from the full local dev stack and the bare
released install were byte-identical. Only the version line differs, so the
optional-extras difference between release.yml and wiki-currency.yml does not
affect this artifact, and the 655 -> 658 symbol growth is real API change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H3XMXCxF72JgNcLeVwCPhZ
@Jammy2211
Jammy2211 merged commit df2c5ec into main Aug 4, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/regenerate-chat-bundle-2026-08-04 branch August 4, 2026 12:09
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.

wiki drift detected at release 2026.8.4.1

1 participant