You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On main, tests/test_skill_install.py fails 10–11 tests with project_discovery.py: error: unrecognized arguments: <repo>. bin/install.sh calls project_discovery.py check --root "$PYAUTO_ROOT" "$@". Because the repo names come after --root, plain parse_args() has already given the repos positional (nargs='*') an empty list, and then rejects the trailing names.
Plan
Parse with parse_intermixed_args(), which accepts the names in any position.
Witness: pytest tests/test_skill_install.py goes from 10 failed to 22 passed.
Detailed implementation plan
Affected Repositories
PyAutoBrain (primary)
Branch:ccr-7e6b22c0-04av9i (shipped in PR #564 at the human's request)
Key Files
bin/project_discovery.py — main()
Original Prompt
Mind: active/project_discovery_argparse_ordering.md (filed 2026-11-03 at the human's request, from the PR #564 test run).
Activity
fix(install): project_discovery accepts repo names after --root (#565)