Problem
The zip archiver has hardcoded skip directories (node_modules, vendor, dist, build, etc.) but no way for users to customize exclusions. Large repos may have project-specific directories (generated code, fixtures, datasets) that bloat the upload and slow analysis.
Proposal
- Support
.supermodelignore file (gitignore syntax) at repo root
- Support
--exclude flag on commands that upload: supermodel analyze --exclude 'fixtures/**'
- Support config-level exclusions in
~/.supermodel/config.yaml
- Respect
.gitignore when not using git archive (the walkZip fallback)
- Show zip size in verbose output so users can see the impact
Current behavior
git archive respects .gitignore (good)
walkZip fallback only skips hardcoded dirs and dotfiles (insufficient)
- No user-configurable exclusions
Problem
The zip archiver has hardcoded skip directories (node_modules, vendor, dist, build, etc.) but no way for users to customize exclusions. Large repos may have project-specific directories (generated code, fixtures, datasets) that bloat the upload and slow analysis.
Proposal
.supermodelignorefile (gitignore syntax) at repo root--excludeflag on commands that upload:supermodel analyze --exclude 'fixtures/**'~/.supermodel/config.yaml.gitignorewhen not usinggit archive(thewalkZipfallback)Current behavior
git archiverespects.gitignore(good)walkZipfallback only skips hardcoded dirs and dotfiles (insufficient)