Fix hardcoded 'main' branch - detect default branch dynamically
- Add getDefaultBranchName() method to WorkstreamManager - Detects repo default by checking HEAD symbolic ref and fallback - Update CreateWorkstream to use dynamic default branch detection - Update 'onx new' CLI flag default to empty string - Manager now determines correct default branch automatically Fixes bug where 'onx new feature' always used 'main' even when repo uses 'master' as the default branch. Now workstreams correctly detect and use the repository's actual default branch.
This commit is contained in: