Commit Graph

4 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
57b19c627f Refactor tito CLI: consolidate module commands and improve structure
- Remove redundant module.py command file
- Consolidate module functionality into module_workflow.py
- Update command registration and help system
- Improve setup command and community integration
2025-11-13 10:42:45 -05:00
Vijay Janapa Reddi
96880b3133 Update tinytorch and tito with module exports
Re-exported all modules after restructuring:
- Updated _modidx.py with new module locations
- Removed outdated autogeneration headers
- Updated all core modules (tensor, autograd, layers, etc.)
- Updated optimization modules (quantization, compression, etc.)
- Updated TITO commands for new structure

Changes include:
- 24 tinytorch/ module files
- 24 tito/ command and core files
- Updated references from modules/source/ to modules/

All modules re-exported via nbdev from their new locations.
2025-11-10 19:42:03 -05:00
Vijay Janapa Reddi
8824a0a5fc Implement clean start/resume/complete workflow - no overlaps!
PERFECT WORKFLOW: Clean lifecycle commands with distinct purposes

New Commands (No Overlaps):
 tito module start 01      → Start working on module (first time only)
 tito module resume 01     → Resume working on module (continue work)
 tito module complete 01   → Complete module (test + export)
 tito module status        → Show progress with 3 states

Smart Features:
 State tracking:  not started → 🚀 in progress →  completed
 Smart validation: start checks if already started, suggests resume
 Smart defaults: resume/complete work without module number
 Progress persistence: JSON file tracks started/completed modules
 Clear guidance: Always shows next logical step

User Journey:
1. tito setup                → Environment setup
2. tito module start 01     → Begin tensors (marks as started)
3. Work in Jupyter, save    → Natural development
4. tito module complete 01  → Test, export, mark completed
5. tito module start 02     → Begin activations
6. tito module resume 02    → Continue activations later

No command overlaps - each has distinct purpose and clear mental model!
2025-09-28 07:58:06 -04:00
Vijay Janapa Reddi
7d47037655 Implement natural module workflow: tito module 01 → work → tito module complete 01
MAJOR UX IMPROVEMENT: Natural workflow that matches mental model

New Commands:
- tito module 01              → Opens Module 01 in Jupyter Lab
- tito module complete 01     → Tests, exports, updates progress
- tito module status          → Shows completion progress with visual indicators

Key Features:
 Natural language commands (tito module 01 vs tito module view 01_tensor)
 Integrated testing workflow (complete command runs tests before export)
 Progress tracking (JSON file tracks completed modules)
 Next steps guidance (shows what to do next)
 Rich visual feedback (progress bars, status indicators)

User Journey:
1. tito setup                 → First-time environment setup
2. tito module 01            → Open and work in Jupyter
3. Save work in Jupyter      → Ctrl+S
4. tito module complete 01   → Test, export, track progress
5. tito module 02            → Continue to next module

This matches the natural mental model: 'open module 01' → 'complete module 01'
2025-09-28 07:24:56 -04:00