Context-Aware Switching
Profile rules exist in the stable app; automatic switching is not active in v0.5.1.
Availability
The advertised workflow is not available as a connected feature in stable v0.5.1. Source components or future work do not make it a shipped capability.
Reviewed against stable v0.5.1. Rust candidate additions are labeled separately. Release status.
The pain this solves
- Different projects can call for different terminal preferences.
- A configured rule is useful only when the app evaluates it during live context changes.
What ships with it
- Settings and matcher code describe directory, repository-name, process, environment, and SSH-host rule types.
- The v0.5.1 source has no production evaluateRules call site; branch input is ignored.
- SSH host badge behavior is only verified in the unreleased Rust/GPUI candidate.
Questions this answers
- Does Chau7 v0.5.1 automatically switch profiles by directory?
- Can a profile rule use a git branch?
- Does an SSH host change the active profile?
How it works
The stable app contains a settings view and rule evaluator for saved profile-switch rules. In the v0.5.1 source, evaluateRules has no production call site, so users should not rely on automatic switching during normal tab activity.
The matcher code supports directory globs, repository-name matching, exact process-name matching, and environment-variable rules. Its gitBranch parameter is explicitly ignored, and the rule model has no branch trigger.
An SSH-host trigger exists in the rule model, but the stable runtime does not wire a live SSH host into rule evaluation. Treat host-based profile switching as unavailable in this tag.
Why it matters
Profile rules can describe useful context-based preferences, but a settings form and matcher are not enough to make automatic switching work. Chau7 v0.5.1 should not be advertised as switching profiles when a tab changes context.
In the Rust/GPUI candidate
At Rust/GPUI source commit 350d851b457e, the tab bar displays a detected SSH-host badge. This is unreleased candidate behavior; it is not present in stable Swift v0.5.1, and runtime migration acceptance is pending.
Candidate features and migration plan. Download links continue to serve the latest stable release.
Frequently asked questions
Does stable v0.5.1 switch profiles automatically?
The rule evaluator is present in source, but no production call site invokes it in the v0.5.1 tree.
Does a git branch rule work?
No. The matcher ignores its gitBranch parameter, and there is no branch trigger in the rule model.
What is the SSH host badge note?
A separate SSH-host badge is present in the unreleased Rust/GPUI candidate; it is not part of the stable Swift app and does not establish stable profile switching.