Codexwright telemetry is opt-in and off by default. No event is written or
sent unless CODEXWRIGHT_TELEMETRY is set to a true value. There is no
analytics-by-default behavior and no remote service is assumed to exist.
export CODEXWRIGHT_TELEMETRY=1
Accepted true values are 1, true, yes and on (case-insensitive).
Unset, empty, 0, false, no and off keep telemetry disabled.
Each event contains only:
timestamp: UTC ISO-8601 timetool: the MCP tool namestatus: ok or errorduration_ms: wall-clock tool durationcodexwright_versionpython_versionos: platform system nameoperation, run_id, session_id: only when already present in the
public tool response and matching identifier patternsGoals, prompts, file contents, diffs, specs, paths, arbitrary tool arguments, secrets and tokens are never recorded.
Events are appended as JSONL to:
<CODEXWRIGHT_HOME>/telemetry/events.jsonl
The directory is created with mode 0700, the file with mode 0600, and
appends follow symlinks never: a symlinked directory or file is refused.
Setting CODEXWRIGHT_TELEMETRY_ENDPOINT optionally POSTs the same event as
JSON to that URL with a 2-second timeout and no retries. Endpoint failures are
ignored and never block or change a tool result. Codexwright does not ship or
operate a collector; this only sends to an endpoint you configure.
Unset CODEXWRIGHT_TELEMETRY or set it to 0/false/no/off. You can also
delete <CODEXWRIGHT_HOME>/telemetry/events.jsonl.
Telemetry is a local, user-controlled usage signal. It does not include workspace content or credentials, and it never affects approval, apply or verification decisions.