Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs(list): correct main_state priority order in field docstring (#3531)

Worktrunk Bot65f02693ae40
diff --git a/src/commands/list/model/status_symbols.rs b/src/commands/list/model/status_symbols.rs
index 6a43f2d85..b883a422e 100644
--- a/src/commands/list/model/status_symbols.rs
+++ b/src/commands/list/model/status_symbols.rs
@@ -392,9 +392,9 @@ impl WorkingTreeStatus {
#[derive(Debug, Clone, Default)]
pub struct StatusSymbols {
/// Gate 3 output (position 4). `None` = loading; `Some(MainState::None)`
- /// = resolved to nothing. Priority: IsMain (^) > Orphan > WouldConflict
- /// (✗) > Empty (_) > SameCommit (–) > Integrated (⊂) > Diverged (↕) >
- /// Ahead (↑) > Behind (↓).
+ /// = resolved to nothing. Priority: IsMain (^) > Orphan (∅) > Empty (_) >
+ /// Integrated (⊂) > WouldConflict (✗) > SameCommit (–) > Diverged (↕) >
+ /// Ahead (↑) > Behind (↓). (Canonical order: see `MainState` in `state.rs`.)
pub(crate) main_state: Option<MainState>,
/// Gate 2 output — operation family (position 3). `None` = loading (we