Problem
Repository scoping changes shape between adjacent inventory commands:
wp datamachine-code workspace list --repo=homeboy
wp datamachine-code workspace worktree list homeboy
Using the top-level --repo form on the nested command returns usage instead of a typed correction. This is a small papercut, but it interrupts automation and forces help lookup in the middle of diagnosis.
Acceptance
- Accept one canonical repository filter syntax across both inventory commands.
- If compatibility requires both forms, normalize positional and
--repo inputs to the same implementation.
- Reject conflicting positional/flag values with a typed diagnostic.
- Show the canonical form consistently in help, examples, and remediation commands.
- Add parser coverage for canonical, compatibility, and conflicting forms.
Related #1034 improved workspace list filtering but did not align the nested worktree-list contract.
AI assistance
OpenAI GPT-5.6 Sol via OpenCode encountered the inconsistent filter shape during control-plane diagnosis, checked existing trackers, and drafted this report. Chris Huber reviewed and remains responsible.
Problem
Repository scoping changes shape between adjacent inventory commands:
Using the top-level
--repoform on the nested command returns usage instead of a typed correction. This is a small papercut, but it interrupts automation and forces help lookup in the middle of diagnosis.Acceptance
--repoinputs to the same implementation.Related #1034 improved workspace list filtering but did not align the nested worktree-list contract.
AI assistance
OpenAI GPT-5.6 Sol via OpenCode encountered the inconsistent filter shape during control-plane diagnosis, checked existing trackers, and drafted this report. Chris Huber reviewed and remains responsible.