Skip to content

Prepare FEP_Formal 2.2.0 for the GNN 5.4.1 pair release - #299

Merged
docxology merged 8 commits into
mainfrom
claude/fep-2.2.0
Dec 1, 2026
Merged

docxology merged 8 commits into
mainfrom
claude/fep-2.2.0

Conversation

@docxology

Copy link
Copy Markdown
Collaborator

Summary

Step 2 of the coordinated FEP_Formal 2.2.0 / GNN 5.4.1 pair release: prepare FEP_Formal 2.2.0 on main against the frozen GNN 5.4.1 candidate 3f507ea140987e07da39f7b25aef9d3d29d8423f (branch claude/gnn-v5.4.1). The tag, GitHub release and Zenodo archival stay with the maintainer. After this merges, GNN's .github/fep-lean-pair.json names the merge commit.

The order follows the re-pin runbook in docs/design/gnn-bridge/README.md: FEP owner edits land before the pin. The version bump changes five bridge owners (pyproject.toml, uv.lock, compat/fep-lean/pyproject.toml, src/fep_formal/__init__.py and the release-bundle constants), so the bump comes first, then the same pin and Q7 operations as #295 and #297.

  1. Release identity, 2.2.0, dated 2026-12-01. These came from docs/release_check.py --bump 2.2.0 --date 2026-12-01, uv lock and the dated CHANGELOG.md section.

    • The citation abstract now names the pinned Lean/Mathlib 4.36.0 profile.
    • The sidecar description reads "Release v2.2.0 preparation (2026-12-01; tag pending)". provenance.current_release stays v2.1.0 until the tag exists.
    • The methods projections that embed the package version were regenerated, and the release-identity test fixtures moved to 2.2.0.
  2. Bridge re-pin (as Re-pin GNN bridge custody to the GNN 5.4.0 relicensing branch #295). bridge pin --gnn-root <GNN@3f507ea1>, then both bridge emit runs.

    • Before the pin, bridge status on main reported drift only in GNN's pyproject.toml and uv.lock (5.4.0 → 5.4.1).
    • On this branch, the only other changes were the five FEP version-bump owners.
    • .github/GNN.md and the bridge design paragraph name the new pin.
  3. Q7 evidence (as Record Q7 render and native evidence for the GNN 5.4.0 pin #297). The Q7 evidence was refreshed through its owners:

    • refresh_render.py;
    • generate_probe.py --output-root, then --publish-generated-from, then --check;
    • a new native_receipt_20261201_fep0709496_gnn3f507ea.json from verify_native.py --compile, which the independent --check accepts.

    The rendered runner is byte-identical. All twelve statements use only propext, Classical.choice and Quot.sound. There are no warnings and no admissions, and runtime_execution_verified is false.

  4. Render acceptance. docs/render-acceptance.json is hashed over CITATION.cff and docs/manuscript/config.yaml, so the bump made it stale.

    • It was re-rendered locally through the pinned template 5b3c0f43 with scripts/render_publication.py, against a claim-ready native receipt.
    • Every acceptance count is zero, and the render is 393 pages.
  5. Test-support fix. tests/_support/lean435_migration.py authenticated the Python 3.11/Pillow 13 pyproject.toml profile by the raw file digest, which also seals the 2.1.0 version.

    • The bump therefore failed 81 serial custody controls.
    • The helper now maps one approved later root release token back to the sealed 2.1.0 token before comparing. All other bytes are still authenticated.
  6. Backlog hygiene. A TODO.md line that started with #59, failed md_hygiene.py --strict on main. It was rewrapped; the text is unchanged.

Verification

Hosted workflows are disabled_manually in this organization, so the Required checks, the native lane and every scripts/gate.sh arm were run locally at the head. The per-command results are in the PR comment.


Generated by Claude Code

Bump the version and date across the release-gated files with
docs/release_check.py --bump 2.2.0 --date 2026-12-01, refresh the
fep-formal entry in uv.lock and turn the Unreleased changelog into the
dated 2.2.0 section. The sidecar description reads as a tag-pending
preparation; provenance.current_release stays v2.1.0 until v2.2.0 is
tagged. Regenerate the methods projections that record the package
version and move the release-identity test fixtures to 2.2.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018EQiJgGyoXuhrKfyfBd9WZ
Seal the pair-wide source pin against the frozen GNN 5.4.1 candidate
3f507ea140987e07da39f7b25aef9d3d29d8423f (claude/gnn-v5.4.1) and this
checkout after the 2.2.0 version bump, then re-emit the finite and
continuous documents. Against the previous seal only GNN's pyproject.toml
and uv.lock and the five FEP version-bump owners changed. bridge status
and both emit --check runs pass. Name the new pin in the GNN conformance
pointer and the bridge design paragraph. Source custody only; existing
receipts are not promoted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018EQiJgGyoXuhrKfyfBd9WZ
The bridge pin to GNN 3f507ea140987e07da39f7b25aef9d3d29d8423f updates
source custody only. Regenerate the Q7 canonical render provenance, fixture
and generated proof manifest through their owners for that exact GNN
checkout and FEP owner bytes at 0709496, and retain a fresh native receipt.
The rendered runner is byte-identical. Native compile and the independent
retained check pass all twelve standard-axiom reports with no warnings or
admissions; runner execution remains unclaimed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018EQiJgGyoXuhrKfyfBd9WZ
The 2.2.0 bump changed two hashed render inputs, CITATION.cff and
docs/manuscript/config.yaml, so the committed receipt no longer described
the checkout. Re-render through the pinned template 5b3c0f43 with
scripts/render_publication.py against a claim-ready native receipt: zero
TeX errors, missing characters, mermaid fallbacks, stale sources,
uncaptioned tables, contents overflows, unresolved references and
unnumbered equations; 393 pages. check_render_log.py --verify-receipt and
build_render_fonts.py --check pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018EQiJgGyoXuhrKfyfBd9WZ
A wrapped line beginning with "#59," failed the strict hygiene gate on
main ("header missing space after '#'"). Rewrap the paragraph so no line
starts with an Issue number; the text is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018EQiJgGyoXuhrKfyfBd9WZ
The historical custody helper authenticated the Python 3.11/Pillow 13
pyproject profile by the raw SHA-256 of the live file, which also seals
the 2.1.0 root version. The 2.2.0 bump therefore failed 81 serial
custody controls with "unreviewed normalized metadata". Map one approved
later root release token (release_lineage.LATER_RELEASE_VERSIONS) back to
the sealed 2.1.0 token before comparing that digest; every other byte is
still authenticated, as the existing release normalization already does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018EQiJgGyoXuhrKfyfBd9WZ

Copy link
Copy Markdown
Collaborator Author

Merge record for head 9fe644cf9d4102489e011d5fe24d15e6000b2a44

Authority. On 2026-12-01 the owner directed that the coordinated pair-release steps proceed, including merges and local CI. This PR is FEP_Formal's step: release 2.2.0 against the frozen GNN 5.4.1 candidate 3f507ea140987e07da39f7b25aef9d3d29d8423f. The tag, the GitHub release and Zenodo archival stay with the owner.

Hosted CI. Every workflow in this organization is disabled_manually, and the Actions dispatch API is blocked here. The commands below therefore ran locally on Linux x86-64 at exactly this head, with a clean tree before and after each run, as the substitute for hosted CI. All runs used:

  • MATPLOTLIBRC unset;
  • FEP_FORMAL_LIVE_TESTS=0;
  • TMPDIR on tmpfs, with PYTEST_ADDOPTS="-o tmp_path_retention_policy=failed" so passed tests release their temporary directories on the small root disk;
  • Lean 4.36.0 through elan, with the pinned Mathlib fc4f59e5 cache restored by lake exe cache get;
  • GNN root = a checkout of 3f507ea1 fetched from GitHub.

Requirements and how they were met

Requirement Command(s) Result
Same version and date across the gated files, plus a dated changelog uv run python docs/release_check.py OK: release v2.2.0 (2026-12-01) gate passes
Bridge custody re-pinned to the GNN candidate (as #295) fep-formal bridge status --gnn-root GNN on main e1b9616, before the pin Drift only in GNN pyproject.toml and uv.lock
bridge pin, then bridge emit --model finite and --model continuous exit 0
bridge status, then bridge emit --check for both models, at this head all exit 0 (status: ok)
Q7 render and native evidence (as #297) refresh_render.py --fep-root . --gnn-root GNN exit 0; the rendered runner is byte-identical
generate_probe.py --output-root …, then --publish-generated-from …, then --check all exit 0
verify_native.py --compile --receipt native_receipt_20261201_fep0709496_gnn3f507ea.json exit 0: 12/12 statements, only propext, Classical.choice and Quot.sound, no warnings or admissions, runtime_execution_verified: false
verify_native.py --check at this head exit 0
AGENTS.md Required checks, all 46 lines 44 lines run verbatim (gnn_pin_revision as defined in scripts/gate.sh) 43 exit 0; one environment failure, pin_audit --check-latest (row below)
Lines 31–32 (non-serial suite, coverage floors) Run as CI runs them, via the full arm (remainder → chrome → floor); see the gate-arm row
pin_audit.py --check-latest Same command on this head and on main e1b9616 Both exit 1 with Lean release lookup failed: HTTP Error 403 and 0 local drifts. This session's GitHub API proxy refuses api.github.com/repos/leanprover/lean4/releases. git ls-remote shows v4.36.0 as the newest stable Lean tag (v4.37.0 is still -rc2), and Mathlib v4.36.0 resolves to the pinned fc4f59e577feb1a4956671bc04ac18aaaf8cd842.
Native Lean lane (cd lean && lake build FepSketches) exit 0 (8220 jobs)
fep-formal verify --fail-on-warnings --receipt output/native-verification.json exit 0; validate_native_lean_receipt: native_claim_ready, source-bound, 168/168 topics, 0 warnings, 0 sorry
pytest tests/ -q -m serial_lean -n 1 --no-cov 445 passed, 39 skipped
verify_diagnostic_bounds.py --compile / --check both exit 0
verify_composition_native.py --output … exit 0
Gate arms (bash scripts/gate.sh <arm>) all (fast, lint, types, docs incl. catalogue, gnn), static, catalogue all exit 0
full = remainder + chrome + floor remainder: 4225 passed, 10 skipped, 1 failed, coverage 92.21%. chrome: 2 passed, coverage 92.57%. floor: passed
The one remainder failure tests/test_docs_audits.py::test_every_docs_markdown_page_is_linked_from_docs_readme The same test fails identically on main e1b9616, with the same 24 unlisted redirect stubs under docs/ (api.md … troubleshooting.md). It comes from the docs reorganization, and this PR does not touch docs/README.md.
Manuscript render acceptance scripts/render_publication.py through the pinned template docxology/template@5b3c0f43 (pandoc 3.10.1, pandoc-crossref 0.3.25, JuliaMono 0.63.2, XeLaTeX, rsvg-convert, mermaid-cli 11.17.0) exit 0; every acceptance count is 0; 393 pages
check_render_log.py --verify-receipt and build_render_fonts.py --check both exit 0
Installed-wheel distribution cells, Linux only For Python 3.11, 3.12, 3.13 and 3.14: uv python install X, then FEP_DISTRIBUTION_PYTHON=X with pytest tests/test_distribution.py and specs/openai-math-methods/test_distribution_methods.py Each cell: 84 passed and 1 passed

Not run here

  • The macOS and Windows distribution cells.
  • The CI-only membership step "Require complete Python membership and all live Chrome controls". It consumes hosted step outcomes; the local part, validate_acceptance.py --collect, passed.
  • The hosted render job's evidence staging and upload.
  • release_check.py --hosted. It needs a green hosted ci.yml run on the merged commit, which the owner does after enabling the workflow.

Deviations from the hosted environment

  • GNU FreeFont 20120503 could not be downloaded: the proxy refuses ftp.gnu.org and mirrors.kernel.org. The render used Ubuntu's fonts-freefont-ttf 20211204 FreeSerif instead. The previous receipt recorded 391 pages; this render produced 393.
  • The serial H2.5d test writes gaussian_precision_conditioning.olean directly with lean -o, giving digest 38d235db… instead of Lake's 620e47db…. The Q7 --check was therefore run before the serial tests. After them, the module was rebuilt with Lake, the digest returned to 620e47db…, and --check passed again.

Merging with sha pinned to the head above.


Generated by Claude Code

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