codex-connector is a local-first Telegram bridge for driving local Codex
sessions. Key areas:
src/codex_connector/: CLI, routing, bridge logic, and session mirroringtests/: behavior and regression testsdocs/andexamples/: operator-facing docs and usage examplesconfig.example.json: public config template
- Install with
python -m pip install -e . - Run
pytestfor logic changes - Keep the
codex-connectorCLI contract in sync with README examples
- Treat the local-first trust boundary as a core invariant: changes should not quietly move execution, secrets, or repo access off the local machine.
- Flag anything that could leak bot tokens, chat IDs, local repo paths, state databases, or mirrored thread content.
- Review command-routing changes carefully:
/project,/new,/continue,/status, and session-pinning behavior should remain predictable. - Check that mirroring and routing changes still handle multiple projects and latest-session fallback correctly.
- Flag docs or examples that encourage committing
config.json,state.sqlite3, runtime logs, or other local artifacts. - Prefer comments on correctness, privacy, and operator safety over minor style issues.