Skip to content

Refactor/lean4 standard structure#158

Merged
gift-framework merged 5 commits intomainfrom
refactor/lean4-standard-structure
Mar 22, 2026
Merged

Refactor/lean4 standard structure#158
gift-framework merged 5 commits intomainfrom
refactor/lean4-standard-structure

Conversation

@gift-framework
Copy link
Owner

No description provided.

Brieuc de La Fourniere and others added 5 commits March 22, 2026 10:08
Move Lean code from Lean/ subdirectory to root (GIFT.lean, GIFT/),
convert lakefile.toml to lakefile.lean, move tests to GIFTTest/,
and isolate non-Lean assets (Python, homepage, blueprint, docs) into
contrib/ directory. Root is now 100% Lean 4 compliant (Lake, Reservoir).

- GIFT.lean and GIFT/ at root (standard Lean lib structure)
- GIFTTest/ for Aristotle test files (standard convention)
- lakefile.lean with Reservoir metadata (replaces lakefile.toml)
- lake-manifest.json committed (was gitignored, required for Reservoir)
- contrib/python/ for giftpy PyPI package
- contrib/homepage/ for Jekyll site
- contrib/blueprint/ for Leanblueprint
- contrib/docs/ and contrib/CLAUDE.md
- CI workflows updated for new paths
- Zero Lean source code changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove version/keywords fields not supported by Lake in Lean 4.27.0.
Update lake-manifest.json after successful lake update + build (2638 jobs).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
leanblueprint doesn't support --blueprint-dir flag. Change to cd into
contrib/blueprint/ directory before running pdf/web commands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Bump version 3.3.47 → 3.4.0 across all files (Python, Lean, docs, homepage)
- Fix 6 dead links from restructuring (stale Lean/ paths, build commands)
- Update CHANGELOG with v3.4.0 entry documenting the full refactor
- Update GIFT_STATUS version history table
- Update homepage structure diagram and build instructions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
leanblueprint hardcodes blueprint/ relative to repo root (same as
mathlib4). Move it back from contrib/blueprint/ and update all
workflow paths, .gitignore, and documentation references.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gift-framework gift-framework merged commit d11080d into main Mar 22, 2026
3 checks passed
@gift-framework gift-framework deleted the refactor/lean4-standard-structure branch March 22, 2026 16:34
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.

1 participant