OpenSwarm icon indicating copy to clipboard operation
OpenSwarm copied to clipboard

Remove legacy code: tmux references, deprecated model configs

Open unohee opened this issue 8 months ago • 0 comments

Problem

Legacy code from earlier iterations remains in the codebase:

  • tmux-based agent execution references (replaced by child_process.spawn)
  • Deprecated models config field (replaced by defaultRoles)
  • 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

unohee avatar Mar 09 '26 04:03 unohee