mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-06-01 16:52:43 -05:00
BREAKTHROUGH IMPLEMENTATION: ✅ Auto-generated warnings now added to ALL exported files automatically ✅ Clear source file paths shown in every tinytorch/ file header ✅ CLAUDE.md updated with crystal clear rules: tinytorch/ = edit modules/ ✅ Export process now runs warnings BEFORE success message SYSTEMATIC PREVENTION: - Every exported file shows: AUTOGENERATED! DO NOT EDIT! File to edit: [source] - THIS FILE IS AUTO-GENERATED FROM SOURCE MODULES - CHANGES WILL BE LOST! - To modify this code, edit the source file listed above and run: tito module complete WORKFLOW ENFORCEMENT: - Golden rule established: If file path contains tinytorch/, DON'T EDIT IT DIRECTLY - Automatic detection of 16 module mappings from tinytorch/ back to modules/source/ - Post-export processing ensures no exported file lacks protection warning VALIDATION: ✅ Tested with multiple module exports - warnings added correctly ✅ All tinytorch/core/ files now protected with clear instructions ✅ Source file paths correctly mapped and displayed This prevents ALL future source/compiled mismatch issues systematically.