Skip to content

fix: --check-version gates on API-surface hash, not version stamp#16

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/wake-up-u53v8z
Jul 19, 2026
Merged

fix: --check-version gates on API-surface hash, not version stamp#16
Jammy2211 merged 1 commit into
mainfrom
claude/wake-up-u53v8z

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Why

The session-start drift-check exact-matched each module's __version__ against the wheel-derived baseline. Since PyAutoConf#119 / PyAutoBuild#121 a release no longer commits the stamp back to library main, so a source checkout reports a frozen stamp while the baseline is wheel-derived — a structurally-permanent false positive (independent of release cadence) that the API-surface hash already proves spurious.

Mirrors the autolens_assistant fix (build-chain #155 Phase 4 task 3) into this clone, which carried the identical code.

What

Drop the version-equality gate in check_version(); gate on the public-API-surface hash only. Versions still shown for context. Adds test_check_version.py (stack-free) and updates skills/af_audit_skill_apis.md.

Testing

test_check_version.py — 3 passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vx4gezFDNdXP39Q8WzqnTA


Generated by Claude Code

The session-start drift-check exact-matched each module's __version__ against
the wheel-derived baseline. Since PyAutoConf#119 / PyAutoBuild#121 releases no
longer commit the stamp back to library main, so a SOURCE checkout reports a
frozen stamp while the baseline is wheel-derived — a structurally-permanent
false positive (independent of release cadence) that the API-surface hash
already proves spurious (public surface byte-identical).

Drop the version-equality gate; gate on the public-API-surface hash only (the
signal that actually protects the skills/wiki). Versions are still shown for
context. Adds test_check_version.py (stack-free via monkeypatched
compute_baseline). PyAutoMind build-chain #155 Phase 4 task 3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vx4gezFDNdXP39Q8WzqnTA
@Jammy2211
Jammy2211 merged commit c29d683 into main Jul 19, 2026
1 check 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