Skip to main content
Auto-commit workspace changes after record-session and project-level configuration.

Enhancements

  • Auto-commit workspace changes: add_session.py now automatically commits .trellis/workspace changes after recording a session — keeps the working directory clean
  • Project-level config: New .trellis/config.yaml for customizing session_commit_message and max_journal_lines
  • Config reader module: New common/config.py reads config.yaml with hardcoded fallback defaults
  • Skip auto-commit: Added --no-commit flag to add_session.py for cases where you don’t want automatic commits
  • Template updates: All 8 platform record-session templates updated with auto-commit documentation

Migration

No migration required. Run trellis update to sync new files (config.yaml, config.py) and updated templates.