Commit 4c1d34e
Jonathan D.A. Jewell
ci+hooks: auto-bootstrap Lean for web sessions + consolidate CI onto the script
Future-dependability follow-through (both authorized):
1. SessionStart hook (.claude/hooks/session-start.sh + .claude/settings.json):
web/remote sessions auto-install the pinned Lean toolchain via
proofs/bootstrap-lean.sh before the agent loop starts, so the proofs can be
built/verified out of the box. Synchronous; resilient (a bootstrap failure
warns but does not block the session); a no-op outside Claude Code on the web.
2. lean-proofs.yml now installs the toolchain through proofs/bootstrap-lean.sh
instead of a bespoke elan step — single source of truth, and CI gains the
GitHub-asset fallback so it stays green if release.lean-lang.org is down.
bootstrap-lean.sh: shellcheck-clean (SC2016 on the intentional literal $PATH
in --print-path is annotated). Verified: hook is a no-op when not remote and
bootstraps when remote; `lean Tangle.lean` still reports 0 errors.
https://claude.ai/code/session_01PgHpCFzwYB7Qy9L6kmR8CE1 parent d33624b commit 4c1d34e
4 files changed
Lines changed: 58 additions & 4 deletions
File tree
- .claude
- hooks
- .github/workflows
- proofs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | | - | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments