Thanks for helping make AI-assisted debugging more evidence-driven. Focused bug fixes, runtime integrations, documentation improvements, accessibility work, and well-scoped feature proposals are welcome.
- Search existing issues and discussions.
- Open an issue before large architectural changes.
- Keep pull requests focused on one problem.
- Never include credentials, private logs, user attachments, or captured personal data.
Requirements:
- macOS 14+
- Xcode with Swift 5.10+
uvor Python 3.11+- Codex with local plugin support
Clone into the personal plugin directory:
git clone https://github.com/pj-workspace/codex-debug-plugin.git ~/plugins/codex-debug-plugin
cd ~/plugins/codex-debug-plugin
./scripts/install-plugin.zsh| Area | Location | Responsibility |
|---|---|---|
| Native dialog | native/ |
SwiftUI interface, clipboard evidence, socket lifecycle |
| MCP bridge | mcp/ |
stdio tools, structured results, 24-hour wait behavior |
| Debug workflow | skills/evidence-debugging/ |
hypotheses, instrumentation, verification, cleanup |
| Distribution | companion/, scripts/ |
Universal 2 app, installation, launchd, smoke tests |
Native controls support English and Simplified Chinese. Keep user-provided titles, context, steps, and expected evidence in the same language selected through the MCP language field.
Run the checks relevant to your change before opening a pull request:
zsh -n scripts/*.zsh
python3 -m py_compile mcp/src/debug_dialog_mcp/*.py scripts/*.py
swift build -c release --package-path native
uv run --with 'mcp>=1.25,<2' ./scripts/smoke-test-mcp.pyFor a release-quality native change, regenerate and verify the distributable app:
./scripts/build-macos-companion.zsh
codesign --verify --deep --strict "companion/Codex Debug Dialog.app"
file "companion/Codex Debug Dialog.app/Contents/MacOS/CodexDebugDialog"The final executable must contain both arm64 and x86_64 architectures.
For native UI changes, install the rebuilt companion and inspect both language variants:
./scripts/install-macos-companion.zsh
./scripts/preview-dialog.py --language en
./scripts/preview-dialog.py --language zh-CNCommit lossless Retina PNG screenshots for user-visible UI changes. Do not upscale or substitute generated mockups for the real app.
A strong pull request includes:
- the user-visible problem and expected behavior;
- the smallest supported change;
- pre-fix and post-fix evidence for bug fixes;
- screenshots for native UI changes;
- privacy and lifecycle impact;
- validation commands and results;
- no unrelated formatting or refactoring.
Use concise Conventional Commit-style subjects when practical, for example:
fix: dismiss the matching panel when MCP disconnects
feat: capture browser console evidence
docs: clarify personal marketplace installation
Contributions must preserve the project's core invariants:
- The current Codex task must invoke the Human Gate MCP tool directly.
- A detached shell helper is not equivalent to task suspension.
- Fixes require evidence from the original failing path.
- Temporary probes remain until post-fix verification succeeds.
- Attachments stay local unless the user explicitly authorizes transfer.
- Secrets and full private payloads must never be logged.
Do not open a public issue for a vulnerability. Follow SECURITY.md and use GitHub's private vulnerability reporting flow.