Context
applyTeamPick, moveRepoToSection, undoSectionPick, undoPickedRepo in src/group.ts address sections by their flat label string. Once sections form a tree, a label alone is no longer unique (e.g. "other" can appear under multiple parent branches), so --pick-team and the interactive p/t pick/re-pick flows need a new addressing scheme.
Part of EPIC #125. Depends on #177, #179, #180.
Solution
Acceptance Criteria
Definition of Done
Context
applyTeamPick,moveRepoToSection,undoSectionPick,undoPickedRepoin src/group.ts address sections by their flatlabelstring. Once sections form a tree, a label alone is no longer unique (e.g."other"can appear under multiple parent branches), so--pick-teamand the interactivep/tpick/re-pick flows need a new addressing scheme.Part of EPIC #125. Depends on #177, #179, #180.
Solution
"gamme-lead-client > squad-dashboard") used internally to disambiguate sections, while keeping the CLI syntax as ergonomic as possible (resolve by nearest-unique-label match, falling back to full path only when ambiguous).applyTeamPick,moveRepoToSection,undoSectionPick,undoPickedRepoto operate on the tree/path model from [1/7] Data model & core hierarchical grouping algorithm #177.ReplayOptions) and stderr validation/warning messages for ambiguous or not-found labels.p(pick) andt(re-pick) work when the cursor rests on a combined section header at any depth ([4/7] TUI rendering & navigation for N-level headers #180's row model).Acceptance Criteria
--pick-team "<combined>=<chosen>"resolves correctly when the combined label is unique across the tree.p) and re-pick (t) work on any header depth in the TUI.Definition of Done
src/group.test.tsfor path addressing and ambiguity resolution.docs/usage/team-grouping.mdpick-team section flagged for update in issue v1.0.4 #7 (not required in this PR).bun test,bun run lint,bun run format:check,bun run knip,bun run build.tsall green.