OpenSwarm
OpenSwarm copied to clipboard
Remove legacy code: tmux references, deprecated model configs
Problem
Legacy code from earlier iterations remains in the codebase:
- tmux-based agent execution references (replaced by
child_process.spawn) - Deprecated
modelsconfig field (replaced bydefaultRoles) - Unused helper functions from the pre-pair-pipeline era
Impact
- Confusing for new contributors
- Dead code increases maintenance burden
- Config validation may accept invalid legacy fields
Proposed Solution
- Audit and remove all tmux references
- Remove deprecated config fields and update Zod schemas
- Clean up unused utility functions
- Update documentation to reflect current architecture
References
- ARCHITECTURE.md known issue #3