Skip to content

[5/7] --pick-team / re-pick across all hierarchy levels #181

Description

@shouze

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

  • --pick-team "<combined>=<chosen>" resolves correctly when the combined label is unique across the tree.
  • When a combined label is ambiguous (appears under multiple parents), a clear stderr warning lists the candidates / expected path syntax.
  • Interactive pick (p) and re-pick (t) work on any header depth in the TUI.
  • The replay command reproduces multi-level picks exactly.

Definition of Done

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions