docs: rewrite README for first success#2
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c5ef738c92
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| The native app lives in [`macos-app/AgentSwitch`](macos-app/AgentSwitch) and | ||
| targets macOS 14+. See [CONTRIBUTING.md](CONTRIBUTING.md) for the complete test | ||
| and privacy gate. |
There was a problem hiding this comment.
Document the source-launch override
The development section no longer explains how to make a locally built app use the checkout. After following the shown venv setup, launching the app against source will not pick that environment: AgentSwitchService only enables source execution when AGENT_SWITCH_DEV_ROOT is set; otherwise it looks for an installed CLI and then invokes a system Python without the checkout's PYTHONPATH. CONTRIBUTING.md does not supply this missing runtime instruction, so developers cannot reliably exercise their source changes in the native app.
Useful? React with 👍 / 👎.
Summary
Verification
PYTHONPATH=src python3 -m unittest discover -s tests -v(72 passed)PYTHONPATH=src python3 -m unittest discover -s tests/integration -v(1 passed)pipx installfrom a fresh GitHub clone;agent-switch --versionreturned0.2.0swift build --package-path macos-app/AgentSwitchpython3 scripts/privacy_scan.py