Treewalker groups completed branch strings by normalized text across all session runs, ranking them by appearance rate and mean rank before saving them for user cherry-picking from the Discovered Entities UI.

flowchart LR
    A[Raw Branch Completions] --> B[Normalize Text]
    B --> C[Aggregate Runs & Compute Metrics]
    C --> D[Rank by Appearance Rate & Mean Rank]
    D --> E[Discovered Entities UI]
    E --> F[Promote to Tracked Entity]