Version: 3.2
Last Updated: November 17, 2025
Your data is safe! All session data is protected by .gitignore.
cd scms-starter-kit-github
git pull origin master
npm install # Update any new dependencies
npm run dashboard:app # Test that everything worksThat's it! Your session data is automatically protected and won't be overwritten.
# 1. Backup your data (just in case)
cp economics-dashboard-data.json economics-dashboard-data.backup.json
# 2. Download new version from GitHub
# Extract to new folder
# 3. Copy your data back
cp economics-dashboard-data.backup.json new-folder/economics-dashboard-data.json
# 4. Test
cd new-folder
npm install
npm run dashboard:appThese files will be updated when you pull changes:
- Dashboard Features:
docs/tools/scms-dashboard.html - Documentation:
README.md, all guides indocs/ - L1 Validated Patterns:
WORKSPACE_RULES.md - Core Scripts:
scms-cost-tracker.js, dashboard utilities - Configuration:
package.json,.gitignoreimprovements - Templates:
economics-dashboard-data.json.example
These files will NEVER be tracked or overwritten:
- Your Session Data:
economics-dashboard-data.json - Your Checkpoints:
checkpoints/directory - Your Sessions:
scms-sessions/directory - Your Customizations:
WORKSPACE_RULES.custom.md - Your Backups:
*.backup.jsonfiles - Dependencies:
node_modules/(reinstall withnpm install) - Local Config:
.env.local
This should NEVER happen with user data files (they're git-ignored). If you see conflicts:
# Check what files have conflicts
git status
# If conflicts are in tracked files (documentation, etc.):
# Option 1: Keep remote version
git checkout --theirs <file>
# Option 2: Keep your version
git checkout --ours <file>
# Option 3: Manually resolve and commitCheck if you accidentally deleted it:
# Look for backups
ls -la *.backup.json
# Check if file exists
ls -la economics-dashboard-data.json
# If lost, restore from example template
cp economics-dashboard-data.json.example economics-dashboard-data.jsonYour data should be backed up regularly! Consider adding to your session closure routine.
# Fetch latest changes
git fetch origin
# Check what's different
git log HEAD..origin/master --oneline
# Force update if needed (ONLY if you haven't made local changes)
git reset --hard origin/master
npm install# Stash your changes
git stash
# Pull updates
git pull origin master
# Restore your changes
git stash pop
# If conflicts, resolve them manually# Clear npm cache
npm cache clean --force
# Delete node_modules and reinstall
rm -rf node_modules package-lock.json
npm install
# If still fails, check Node.js version
node --version # Should be 14.x or higher# Create a backup
cp economics-dashboard-data.json economics-dashboard-data.backup.$(date +%Y%m%d).json
# Check current version
git log -1 --oneline
# Check for uncommitted changes
git status# Verify dashboard loads
npm run dashboard:app
# Check for breaking changes
git log origin/master --oneline -10
# Test core functionality
- [ ] Dashboard loads without errors
- [ ] Session data displays correctly
- [ ] Export functionality works
- [ ] Cost tracking functions
- [ ] No console errors/warnings (should be fresh)
- [ ] Test export functionality
- [ ] Review UPDATE notes in commit messages- ✅ Data staleness detection with visual warnings
- ✅ Session counter metric card
- ✅ Enhanced console diagnostics
- ✅ Export disconnect fix (auto-updates source file)
- ✅ L1 pattern: Multi-Edit Batch Operations
- ✅ Update-safe workflow (this guide!)
- ✅ Dashboard workflow improvements
- ✅ Validation Commit Layer terminology
- ✅ Enhanced economic metrics
- ✅ Startup vs Session Start clarity
- ✅ Session closure prompts v3.0
- ✅ Enhanced economics dashboard
- ✅ Dual-Inevitability Theorem visualization
Set up a cron job or scheduled task:
# Create update script: update-scms.sh
#!/bin/bash
cd /path/to/scms-starter-kit
git pull origin master
npm install
echo "SCMS Starter Kit updated: $(date)" >> update.logIf you want to stay on a specific version:
# Create a branch for your work
git checkout -b my-work
# Pull specific version when ready
git fetch origin
git merge v3.2 # or specific commitUse git for tracking but customize locally:
# Clone repo
git clone https://github.com/AIalchemistART/scms-starter-kit.git
# Create local branch
git checkout -b local-custom
# Make customizations
# Your data is still protected by .gitignore
# Update from master when ready
git fetch origin
git merge origin/masterQ: Will updating delete my session data?
A: No! All user data is protected by .gitignore and won't be tracked or overwritten.
Q: Can I customize WORKSPACE_RULES.md without conflicts?
A: Use WORKSPACE_RULES.custom.md for your custom patterns (it's git-ignored).
Q: How often should I update?
A: Check for updates monthly, or when you see new features announced. Updates are backward-compatible.
Q: What if I accidentally deleted my data file?
A: Check your backups. If no backup exists, you'll need to rebuild from exports or start fresh with the .example template.
Q: Can I contribute improvements back?
A: Yes! Fork the repo, make changes, and submit a pull request. Your data stays private (git-ignored).
Protected by .gitignore:
economics-dashboard-data.json
checkpoints/
WORKSPACE_RULES.custom.mdTracked in Git (safe to update):
docs/
scms/
README.md
WORKSPACE_RULES.md
package.json
Your data will NEVER be:
- Committed to git (it's ignored)
- Overwritten by updates (it's protected)
- Shared publicly (it's local only)
- Issue Tracker: GitHub Issues
- Documentation: README.md
- Dashboard Guide: docs/guides/SCMS_ECONOMIC_DASHBOARD.md
- Session Closure: docs/guides/SCMS_SESSION_CLOSURE.md
Your data is safe. Update with confidence! 🚀✅