Commit faafcfb
lessons: L1 build-along — workspace + Reth + Malachite (Stages 1-3)
First hands-on lesson of the build-along course. Reader writes the
workspace skeleton from scratch (Stage 1), then pins Reth and
Malachite as workspace deps (Stage 2+3).
L1 structure (the build-along template):
- Goal: cargo check --workspace passes
- Recap: what L0 setup gave you (~/code/my-openhl + reference)
- Plan: 3 stages, each with a test gate
- Walk-through: 9 numbered steps with full TOML/Rust to type
- Test: cargo check + cargo build --bin openhl
- Design reflection: 2 load-bearing decisions
(workspace-level deps; SHA-pinned git deps)
- Answer key: diff against psyto/openhl@5fc7ca1
- Common questions: 4 FAQs (git commits, warnings, disk, parallelism)
- Next lesson: preview of L2 (openhl-types)
Generator updates:
- Module 1 (Foundations) added to both EN and JA configs
- L1 LessonSpec in both locales
- COURSE_SHARED duration: 20→65, xpReward: 60→140
Pilot state: course now shows 2 lessons (L0 + L1) / 2 modules /
65 min / 140 XP. L2-L14 still pending, drafted incrementally after
L1 format approved.
Verified locally — both L0 and L1 render correctly at:
- http://localhost:3000/courses/reth-openhl-consensus-ja
- .../lessons/openhl-workspace-ja
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2868a48 commit faafcfb
5 files changed
Lines changed: 1869 additions & 291 deletions
File tree
- .github/scripts
- drafts
- prisma
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
89 | 101 | | |
90 | 102 | | |
91 | 103 | | |
| |||
106 | 118 | | |
107 | 119 | | |
108 | 120 | | |
| 121 | + | |
109 | 122 | | |
110 | 123 | | |
111 | 124 | | |
| |||
119 | 132 | | |
120 | 133 | | |
121 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
122 | 146 | | |
123 | 147 | | |
124 | 148 | | |
| |||
140 | 164 | | |
141 | 165 | | |
142 | 166 | | |
143 | | - | |
144 | | - | |
| 167 | + | |
| 168 | + | |
145 | 169 | | |
146 | 170 | | |
147 | 171 | | |
| |||
0 commit comments