Implement the following plan:
Plan: Remove numeric prefixes from foundation scripts
Context
The 01-foundations/ scripts have numeric prefixes (01-microtokenizer.py through 07-microvae.py) but 02-alignment/ and 03-systems/ scripts don't. This creates visual inconsistency. Rather than adding numbers to the other directories, remove all numbering so every script follows the clean micro*.py pattern. Learning order is already documented in each section's README "Learning Path" section.
File Renames (7 files)
All in 01-foundations/:
| Current | New |
|---|
01-microtokenizer.py | microtokenizer.py |
02-microembedding.py | microembedding.py |
03-microgpt.py | microgpt.py |
04-micrornn.py | micrornn.py |
05-microrag.py | microrag.py |
06-microdiffusion.py | microdiffusion.py |
07-microvae.py | microvae.py |
No Python scripts reference the numbered filenames (confirmed via grep). Only documentation files need updating.
Documentation Updates (7 files, ~52 references)
1. README.md (root) — 4 references
- Line 65:
python 01-foundations/03-microgpt.py → python 01-foundations/microgpt.py
- Lines 81-84: Learning path entries (strip prefixes)
2. 01-foundations/README.md — 16 references
- Lines 9-15: Script table (7 entries)
- Line 23:
04-micrornn.py in future candidates
- Lines 35-41: Learning path (7 entries)
3. CONTRIBUTING.md — 1 reference
- Line 184:
03-microgpt.py → microgpt.py
4. docs/implementation.md — ~22 references
- Lines 22-28: Repository structure tree (7 entries)
- Line 7: Inline reference to
03-microgpt.py and 04-micrornn.py
- Lines 92, 121, 154, 181, 223, 270, 320, 365: Section headers and cross-references
- Lines 862-865: Phase sequencing table (4 rows)
5. docs/autograd-interface.md — 1 reference
- Line 81:
04-micrornn.py in per-script extensions table
6. .claude/CLAUDE.md — 5 references
- Line 26: Example command
- Lines 50-53: Implementation sequencing table (4 rows)
7. Python scripts — 0 references
No .py files contain numbered filename references (comments say "microgpt" not "03-microgpt").
Execution
git mv all 7 files in 01-foundations/
- Update all 7 documentation files (find-replace
0N-micro → micro for each prefix)
- Single commit:
refactor(foundations): remove numeric prefixes from script filenames
Verification
ls 01-foundations/*.py — confirm no numbered files remain
grep -r '0[1-7]-micro' . — confirm zero references to old names
- Run one script to confirm it still works:
python 01-foundations/microgpt.py
git diff --stat — should show 7 renames + 7 doc file modifications
If you need specific details from before exiting plan mode (like exact code snippets, error messages, or content you generated), read the full transcript at: /Users/druk/.REDACTED.jsonl
If this plan can be broken down into multiple independent tasks, consider using the TeamCreate tool to create a team and parallelize the work.